1 Reply Latest reply: Feb 17, 2010 10:52 PM by Aldo Bonzi RSS

configure log4j

Alexei R Newbie

Hi, there is some way to turn off all default's seam messages log, My objetive is to have my custom log data in other log file for example myapp.log only with the messages that I instruct to seam to log, using for example:



log.error("Error authenticating {0}", userLogin     + " : " + e.toString());





thanks


Alex

  • 1. Re: configure log4j
    Aldo Bonzi Novice

    I think you need to look for the log4j configuration file.
    For instance in jboss as 4.2, the file is your_installation_dir\server\default\conf\jboss-log4j.xml


    There you can play with appenders, categories and others to achieve what you want.