kannanmugundan wrote:
yes it is possible to log in different file.
I am using XML style for log4j
and you can do it like
<logger name="org.company" additivity="false"><level value="INFO" /><appender-ref ref="company_APPENDER"/></logger>
Now All the logs of org.company can be redirected to company_APPENDER and since we have additivity="false" the log won't be sent to parent handler.
I would suggest you to switch from property file to xml. And you can check for more information in log4j site.
ty ima try, i had alrdy switched like 3h ago :P, i could do it, making each class load a different properties, but it is a little dirty, one property per package -_-
oh and yeah i noticed its log4j :P, but is first time i use log4j and it "came" with hibernate (using old version) so asked here :X.