LogFile - RegExp

Bug #376811 reported by stando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AWFFull
New
Undecided
Unassigned

Bug Description

Hi,

I have log in "/vserver/iplone/var/log/zope2.10/plone-site/Z2.log" (___zope2.10___)
In /etc/cron.daily/awffull is line: NLOGFILE=`awk '$1 ~ /^LogFile$/ {gsub(/\.[0-9]+(\.gz)?/,""); print $2}' $i`;
which give: /vserver/iplone/var/log/zope2/plone-site/Z2.log ( ___zope2___ )

So, RegExp is not rigth. I changed it to "/\.[0-9]+(\.gz)?$/", (add $), but...i am not sure .... :/

Revision history for this message
Steve McInerney (spm) wrote :

Hi,

not sure I quite appreciate the problem you're describing?
From the description it seems that the problem is in the cron.daily file for awffull?

Which system are you using? And probably a copy of the /etc/cron.daily/awffull would be helpful.

Cheers!
- Steve

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.