Hey guys.
I am getting the following output when i start my java union server - its a jar and i dont have access to the source code but i think this issue is a log4j properties file error as it works on windows, and not on linux.
The error is:
log4j:WARN No appenders could be found for logger (net.user1.union.core.H).
log4j:WARN Please initialize the log4j system properly.
and the log4j property file is :
log4j.rootLogger=debug, union, admin
# use this rootLogger and uncomment stdout below to enable logging to the console
#log4j.rootLogger=debug, union, admin, stdout
# Appender union writes to the file "log.txt".
log4j.appender.union=org.apache.log4j.RollingFileAppender
log4j.appender.union.MaxBackupIndex=5
log4j.appender.union.File=log.txt
log4j.appender.union.layout=org.apache.log4j.PatternLayout
log4j.appender.union.layout.ConversionPattern=%d{ISO8601} %-5p - %m%n
#Appender used for admin
log4j.appender.admin=net.user1.union.logging.AdminAppender
log4j.appender.admin.layout=org.apache.log4j.PatternLayout
log4j.appender.admin.layout.ConversionPattern=%d{ISO8601} %-5p - %m%n
# Uncomment to log to console
# log4j.appender.stdout=org.apache.log4j.ConsoleAppender
# log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p - %m%n
Does anybody have any help for me on getting this running in linux!
Thanks
Andy