<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
archivesspace.out should for sure be "ASCII text, with very long lines" </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If it's something else, there's something wrong somewhere.</div>
<div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Dyson-Smith,
 Bridger <bdysonsm@utk.edu><br>
<b>Sent:</b> Monday, June 14, 2021 3:00 PM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] logrotate and "binary" logs</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi all -<br>
<br>
I recently setup logrotate according to the helpful blurb in the tech-<br>
docs[1], which has been great for our disk usage but seems to have<br>
introduced a change in the log file's `file` type. <br>
<br>
Before logrotate, we had <br>
<br>
<br>
$ file archivesspace.out <br>
aspace-log.out: ASCII text, with very long lines<br>
<br>
and now with logrotate in play, we have<br>
<br>
$ file as-log.out<br>
as-log.out: data<br>
<br>
which causes all sorts of trouble if I want to do anything other than<br>
tail a log :). <br>
<br>
I guess I was hoping someone may a suggestion or two about how to<br>
approach this, either from the logrotate side or perhaps using another<br>
utility to either modify the `file` metadata or parse the binary format<br>
to something greppable?<br>
<br>
Thanks for any advice you can share. My searching hasn't panned out.<br>
Best,<br>
Bridger<br>
<br>
[1]<br>
<a href="https://archivesspace.github.io/tech-docs/administration/logrotate.html">https://archivesspace.github.io/tech-docs/administration/logrotate.html</a><br>
<br>
[2] my config:<br>
archivesspace/logs/archivesspace.out {<br>
        daily<br>
        rotate 7<br>
        compress<br>
        notifempty<br>
        missingok<br>
        copytruncate<br>
}<br>
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div>
</span></font></div>
</body>
</html>