ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: Access_log name format
Date Wed, 29 Jun 2011 18:08:57 GMT
I though you might find how they handle taking log files and converting
them to what they use them for.
Might be able to use the chunk of code and save you some programming.

Mike sent the following on 6/29/2011 11:01 AM:
> Thanks BJ, but I wasn't looking for statistics.  I'm trying to create
> a continuous log tailer that looks for specific things related to
> security (i.e. lock out an IP that is attempting a scan).  Its
> annoying that the access log is acting different from the other log
> files, which makes the tailing slightly more tricky.
> 
> On Wed, Jun 29, 2011 at 10:24 AM, BJ Freeman <bjfree@free-man.net> wrote:
>> take a look at http://awstats.sourceforge.net/
>>
>> Mike sent the following on 6/29/2011 7:55 AM:
>>> Thanks BJ and Adrian.  I was hoping for an easy config change.  I'll
>>> probably end up just creating a daily symlink via cron.  Thanks.
>>>
>>> On Wed, Jun 29, 2011 at 6:10 AM, BJ Freeman <bjfree@free-man.net> wrote:
>>>>        at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>>>>        at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>>>        at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>>>>        at
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>>>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>>>        at java.lang.Thread.run(Thread.java:619)
>>>>
>>>>
>>>> Mike sent the following on 6/28/2011 4:49 PM:
>>>>> In my runtime/logs directory, access_log get created like this:
>>>>>
>>>>> -rw-rw---- 1 ofbiz ofbiz   72258 2011-06-26 23:58 access_log.2011-06-26
>>>>> -rw-rw---- 1 ofbiz ofbiz  100759 2011-06-27 23:54 access_log.2011-06-27
>>>>> -rw-rw---- 1 ofbiz ofbiz 4689194 2011-06-28 16:41 access_log.2011-06-28
>>>>>
>>>>> Is there a way to force ofbiz to just create "access_log" (w/o the
>>>>> date), and then when logs are rotated, then add the date?
>>>>>
>>>>> I already poked around /framework/base/config/ofbiz-containers.xml
>>>>> (and both-containers.xml), but it still escapes me.
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>
>>
> 

Mime
View raw message