[Users] PEtALS Log configuration

edz petals-use at ebmwebsourcing.com
Wed Mar 16 10:24:18 CET 2011


Hi,

I'm configuring loggers.properties from Petals JBI Container - version: 2.2.1

I'd like to put all logs in only one file "petals.log".

I configured the loggers.properties like that:


Code:

# -----------------------------------------------------------------------
# Petals : global configuration logger
# -----------------------------------------------------------------------
logger.Petals.cleanHandlers true
logger.Petals.additivity false

handler.petalsLF.type File
handler.petalsLF.output petals.log
handler.petalsLF.pattern %l %d [%t]%n    %m%n
handler.petalsLF.appendMode true
#handler.petalsLF.maxSize 1000000
handler.petalsLF.level INFO




when I restart the server, petals.log is emptied.

How can I configure the loggers.properties to not lose logs after restarting the server?

BR




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=246#246

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/fe2722f0/attachment.htm>


More information about the Users mailing list