[rsyslog] multiprocess/multithread web app to rsyslog
david at lang.hm
david at lang.hm
Fri Nov 13 00:02:08 CET 2009
On Thu, 12 Nov 2009, Lukasz Szybalski wrote:
> On Thu, Nov 12, 2009 at 1:25 PM, <david at lang.hm> wrote:
>> On Thu, 12 Nov 2009, Lukasz Szybalski wrote:
>>
>>
>> it may be close enough to the correct thing to work.
>>
>>> 2. What about saving the file with todays date. I don't want to rotate
>>> the logs, but I want to have a file for each day saved in
>>> /home/lucas/$year$month$date.txt
>>> Above does not work, unless I'm missing some escape characters/parentheses?
>>
>> look in the section on dynafiles. I have not used this feature, so I can't
>> help directly.
>
> Now I just have to find the proper syntax to get the file to save to
> :syslogtag, contains, "myapp" /home/lucas/20091112.txt
> to
> /home/lucas/$year$month$date.txt
look at DynFile in
http://www.rsyslog.com/doc-rsyslog_conf_actions.html
David Lang
More information about the rsyslog
mailing list