Hi,
I am trying to use log4j with portlets residing withing the Vignette
portal. Here is the problem i am facing. All the log messages from my code
goes to the File i want it to goto and also to the Vignette Logs. The
Vignette Portal also uses Log4j in the background to handle its own
logging. How can i prevent this conflict?
Here is how my prop file looks like. I dont want my logs to goto the
vignette logs.
[EMAIL PROTECTED]@, A1
DEBUG_LEVEL=DEBUG
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=[%-6p] %d{dd MMM yyyy
HH:mm:ss} (%c) - %m%n
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File=/apps/iPortal/logs/iPortalCore.log
log4j.appender.A1.MaxFileSize=5000KB
# Keep one backup file
log4j.appender.A1.MaxBackupIndex=1
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=[%-6p] %d{dd MMM yyyy HH:mm:ss}
(%c) - %m%n
Thanks,
Derryl Varghese
-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.