|
From: Tomas G. <to...@pr...> - 2012-07-30 11:04:00
|
Check conf/log.properties. Doing what you say: ---- >> # Internal EJBCA logging device that writes to the database. See >> logdevices/oldlog.properties.sample for more information. >> OldLogDevice=org.ejbca.core.model.log.OldLogDeviceFactory;logdevices/oldlog.properties >> >> This seems to imply that by commenting the OldLogDevice line in this >> file and redeploying the EAR, one can turn off DB-logging. However, >> this does not seem to work. ---- Does work, unless you are configuring the .sample file? (at least it works for a whole bunch of deployments, so I believe it works :-)) Cheers, Tomas On 07/30/2012 12:57 PM, Arshad Noor wrote: > Any suggestions on how to address this? Thanks. > > Arshad > > Begin forwarded message: > >> *From:* Arshad Noor <ars...@st... >> <mailto:ars...@st...>> >> *Date:* July 12, 2012 1:17:56 PM PDT >> *To:* ejb...@li... >> <mailto:ejb...@li...> >> *Subject:* *Disable all logging to DB* >> >> Hello, >> >> The "Maximizing Performance" section of the Admin Guide has this line: >> >> "Disable logging to database in log.properties, only use >> Log4jLogDevice. This removes a database insert and gives a big boost." >> >> Additionally, the log.properties file in the $EJBCA_HOME/conf indicates: >> >> # Internal EJBCA logging device that writes to the database. See >> logdevices/oldlog.properties.sample for more information. >> OldLogDevice=org.ejbca.core.model.log.OldLogDeviceFactory;logdevices/oldlog.properties >> >> This seems to imply that by commenting the OldLogDevice line in this >> file and redeploying the EAR, one can turn off DB-logging. However, >> this does not seem to work. >> >> Can someone shed some light on how to turn off DB logging completely? >> >> I am assuming that the server.log file is capturing all events that >> might normally have been logged in the DB. If this is not true, it >> will be helpful to know what does NOT get logged if DB-logging is >> turned off. >> >> Thank you. >> >> Arshad Noor >> StrongAuth, Inc. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |