On Thursday, March 30, 2006 2:07 PM [EDT],
Kaitee Fleck <[EMAIL PROTECTED]> wrote:

>> Here's a sample of the lines in my server.log file.  I'm placing an
>> empty line in between each in case the formatting forces the lines
>> to break.
>>
>> 2006-03-29 11:51:36,373 DEBUG
>> [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory]
>> Using properties: {user=testuser, password=--hidden--}
>>
>> 2006-03-29 11:51:36,420 DEBUG
>> [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory]
>> Using properties: {user=testuser, password=--hidden--}
>>
>> 2006-03-29 11:52:21,872 INFO  [STDOUT] 146.63.78.218- making session
>> 146.63.78.218- entry point is: /main/index.jsp 146.63.78.218- query
>> string is: null
>>
>> 2006-03-29 11:52:21,872 INFO  [STDOUT] 146.63.78.218- got sessions:
>> on 750
>>
>> 2006-03-29 11:52:21,888 INFO  [STDOUT] 146.63.78.218- got referer
>> from parameter: ../main/index.jsp
>>
>> 2006-03-29 11:52:21,888 INFO  [STDOUT] 146.63.78.218- got sessions:
>> on 675
>>
>> 2006-03-29 11:52:24,497 INFO  [STDOUT] 146.63.78.218- got sessions:
>> on 675
>>
>> 2006-03-29 11:52:38,216 INFO  [STDOUT] 146.63.78.218- got sessions:
>> on 675

You haven't told us how you expect these lines to be interpreted. I assume
they should all be ignored except the 3rd one that says "making session"

These3 lines will do that, returning "Successful requests: 1, Logfile lines
without status code: 7" (actually, none of the lines have status codes, but
Analog is assuming success for the matched line).

LOGFORMAT (%Y-%m-%d %h:%n:%j INFO%w[STDOUT] %S- making %j: %r %j)
LOGFORMAT (%j)
logfile jboss.log

Note that I'm ignoring the query string, because I don't know what a
successful query string would look like, and I'm ignoring the line that
mentions a referrer, because it doesn't actually include a legal referrer.

Aengus

>>
>> Aengus wrote:
>> On Wednesday, March 29, 2006 9:33 PM [EDT],
>> Kaitee Fleck <[EMAIL PROTECTED]> wrote:
>>
>>   I'm having problems with analog reading a jboss server log.  I
>> think
>> the issue has something to do with the combined logs format of the
>> server.log file.  Not all of the lines appear to be in the same
>> format because all the logging of everything is in this one file.
>> Does anyone know how to get analog to recognize this file?  Or does
>> anyone have any experience changing the logging(log4j.xml) to log
>> only the access records to a new log. Thanks in advance to anyone
>> who can help.
>>
>> Analog can use multiple LOGFORMATs on  sigle logfile. If you can
>> distinguish
>> the logfile entries that you don't want Analog to analyze, then you
>> may be
>> able to configure Analog to ignore those lines.
>>
>> If you can post a few lines (including some of both kinds), I might
>> be able
>> to suggest some appropriate LOGFORMATS.
>>
>> Aengus
>>
>> +------------------------------------------------------------------------
>>>  TO UNSUBSCRIBE from this list:
>>>    http://lists.meer.net/mailman/listinfo/analog-help
>>>
>>>  Analog Documentation: http://analog.cx/docs/Readme.html
>>>  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
>>>  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
>> +------------------------------------------------------------------------
>>
>>
>> --
>> Kaitee Fleck
>> Analyst/Programmer I
>> Division of Finance
>> Department of Administration
>> Telephone: (907) 465-5635
>> Fax: (907) 465-2169
>> [EMAIL PROTECTED]
>
>
>
>> +------------------------------------------------------------------------
>>>  TO UNSUBSCRIBE from this list:
>>>    http://lists.meer.net/mailman/listinfo/analog-help
>>>
>>>  Analog Documentation: http://analog.cx/docs/Readme.html
>>>  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
>>>  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
>> +------------------------------------------------------------------------


+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to