Re: RFC-3339 Dates

"Stefan" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <24475536.mhEVuOkDef@genux>
George S.:
> Hi there. I'm using Logwatch on OpenSUSE 12.3, and the distribution has
> changed the format of their log files to:
> 
> YYYY-MM-DDTHH:MM:SS.FFFF-ZZZZ

Is this more related to rsyslog than opensuse? I run openSUSE 12.3 with 
syslog-ng and still have the "old" syslog date format.

> I've poked around through the code to try to figure out how to change
> Logwatch to read this format, but I'm just not getting it right. Can you
> give me an idea on what to change, and what the change should look like?

You have to edit the shared scripts applystddate and removeheaders. Eventually 
also the other apply*date scripts. They are located in 
/usr/share/logwatch/scripts/shared.

> I've submitted it as a bug to OpenSUSE a few weeks ago, but so far
> there's been no action. I'd post this the sourceforge forum, but
> response there seems pretty random.
> 
> I'd appreciate any help you would be willing to give. If you give me a
> fix, I'll submit it as a patch to OpenSUSE.

Regards
Stefan

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.