Re: [Opensim-dev] Changes to OpenSim.log, etc, log config
This doesn't change the amount of data logged; it just makes it easier to use since the files are smaller, and it makes finding events of interest easier. Your objection is to the *number* of files? I admit that this wasn't a concern for me because I do save the logs in a log subdirectory. So how about we do that? If we're changing the behavior of log files then we might as well make all the changes we want at one time. -- View this message in context: http://opensim-dev.2196679.n2.nabble.com/Changes-to-OpenSim-log-etc-log-config-tp7579053p7579058.html Sent from the opensim-dev mailing list archive at Nabble.com. ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev
Re: [Opensim-dev] Changes to OpenSim.log, etc, log config
IMHO, this is a change that should have been discussed beforehand. This is just the kind of change we try to avoid making without consultation. That said, I am against this change. A possible alternative would be to include this as an alternate configuration, commented out, i these files and maybe document how to change it, but to change the default is not the way we do this. It will play hell with installations where people use operating system features and/or external programs to rotate and/or archive logs. Options are fine, changing defaults without discussion is not. Melanie On 26/03/2014 07:35, Oren Hurvitz wrote: This doesn't change the amount of data logged; it just makes it easier to use since the files are smaller, and it makes finding events of interest easier. Your objection is to the *number* of files? I admit that this wasn't a concern for me because I do save the logs in a log subdirectory. So how about we do that? If we're changing the behavior of log files then we might as well make all the changes we want at one time. -- View this message in context: http://opensim-dev.2196679.n2.nabble.com/Changes-to-OpenSim-log-etc-log-config-tp7579053p7579058.html Sent from the opensim-dev mailing list archive at Nabble.com. ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev
Re: [Opensim-dev] Changes to OpenSim.log, etc, log config
Shame, its something that i mentoinded years ago. and still missing. The logs are getting to big and not workable. Make the log rolling optional a config parameter in the opensim.ini Also before mentoined. but it then in seperate directory. On 2014-03-26 07:59, Oren Hurvitz wrote: I reverted this change as it would break the setup for users who already implemented log-rolling in some other way. The use of RollingFileAppender is now only a suggestion in a comment in the config files. -- View this message in context: http://opensim-dev.2196679.n2.nabble.com/Changes-to-OpenSim-log-etc-log-config-tp7579053p7579061.html Sent from the opensim-dev mailing list archive at Nabble.com. ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev
Re: [Opensim-dev] Changes to OpenSim.log, etc, log config
Logging isn't actually handled directly by OpenSim, but rather by it's log4net library. This library looks in OpenSIm.exe.config to see how it should handle logs, including things like rolling logs, and how the logs are named. It does all of this before OpenSim even has a chance to open it's own INI files. To an extent, it's outside of OpenSim;s control and scope, requiring a person to read up on log4net options someplace like http://logging.apache.org/log4net/release/config-examples.html If you like, you can even choose to use your own version of OpenSim.exe.config using the logconfig command line switch. On Wed, Mar 26, 2014 at 6:41 AM, R.Gunther ri...@rigutech.nl wrote: Shame, its something that i mentoinded years ago. and still missing. The logs are getting to big and not workable. Make the log rolling optional a config parameter in the opensim.ini Also before mentoined. but it then in seperate directory. On 2014-03-26 07:59, Oren Hurvitz wrote: I reverted this change as it would break the setup for users who already implemented log-rolling in some other way. The use of RollingFileAppender is now only a suggestion in a comment in the config files. -- View this message in context: http://opensim-dev.2196679.n2. nabble.com/Changes-to-OpenSim-log-etc-log-config-tp7579053p7579061.html Sent from the opensim-dev mailing list archive at Nabble.com. ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev
Re: [Opensim-dev] Changes to OpenSim.log, etc, log config
I included a comment in the config files (e.g., OpenSim.exe.config) that shows how to enable log-rolling. Just modify a few lines in the file. It would be a lot of work to implement this as an option in OpenSim because it would require using the log4net API to change how it works at runtime. It's not impossible, but I'm not going to attempt it. -- View this message in context: http://opensim-dev.2196679.n2.nabble.com/Changes-to-OpenSim-log-etc-log-config-tp7579053p7579066.html Sent from the opensim-dev mailing list archive at Nabble.com. ___ Opensim-dev mailing list Opensim-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/opensim-dev