On Tue, Jan 10, 2012 at 10:00 PM, Paul Nijjar <span dir="ltr"><<a href="mailto:paul_nijjar@yahoo.ca">paul_nijjar@yahoo.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
John makes another good point. If you can configure rsyslog on this<br>
server then splitting up entries using regular expressions is pretty<br>
straightforward. I think the Users.log is going to be the hardest<br>
unless there is a fixed string you can match against.<br></blockquote><div><br>Depending on what you are trying to do, you can do away with rsyslog, <br>and use logrotate, with a prerotate and/or postrotate script.<br><br>
See how to do that here:<br><br><a href="http://linuxers.org/howto/howto-use-logrotate-manage-log-files">http://linuxers.org/howto/howto-use-logrotate-manage-log-files</a> <br></div></div>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>
<a href="http://2bits.com" target="_blank">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>
For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br><br>