I've been playing around with the AccessLogFileHandler rather than
what I've usually been doing and it works reasonably well except
that, somehow, I get two files.

I configure my pattern as:

org.restlet.engine.log.AccessLogFileHandler.pattern=%h/access-%g.log

but then when I run the application via the Grizzly connector, I get
the following log-related files:

access-0.log            
access-0.log.lck
access-0.log.1
access-0.log.1.lck

I'm not certain why two files are created.  The .1 suffixed log file
is the one that actually logs the requests.  The other is always
empty.

Any ideas?

--Alex Milowski

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2630977

Reply via email to