Description
Kyle M Hall (khall)
2016-05-03 18:58:44 UTC
Created attachment 51165 [details] [review] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Created attachment 51166 [details] [review] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Created attachment 51167 [details] [review] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Created attachment 51183 [details] [review] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Created attachment 51938 [details] [review] [SIGNED-OFF] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Signed-off-by: Srdjan <srdjan@catalyst.net.nz> How this can be useful for a library? Should not we use DEBUG instead of INFO? Created attachment 53126 [details] [review] Bug 16436 [QA Followup] - Use debug instead of info (In reply to Jonathan Druart from comment #6) > How this can be useful for a library? > Should not we use DEBUG instead of INFO? That works for me! (In reply to Kyle M Hall from comment #8) > (In reply to Jonathan Druart from comment #6) > > How this can be useful for a library? > > Should not we use DEBUG instead of INFO? > > That works for me! And, how this can be useful for a library? What's the use case? (In reply to Jonathan Druart from comment #9) > (In reply to Kyle M Hall from comment #8) > > (In reply to Jonathan Druart from comment #6) > > > How this can be useful for a library? > > > Should not we use DEBUG instead of INFO? > > > > That works for me! > > And, how this can be useful for a library? > What's the use case? The use case would be for a way to 'archive' action logs outside of the database. With the logger, we can even redirect those specific logs to other files. For development and debugging, it's helpful to see the actions in the context of the rest of the debugging output. Created attachment 53876 [details] [review] Bug 16436 - Allow action logs to be logged to the koha log file Test Plan: 1) Ensure that your Koha::Logger configuration is in good working order 2) Apply this patch 3) Modify the first line of your log4perl.conf file from: log4perl.logger.intranet = WARN, INTRANET to log4perl.logger.intranet = INFO, INTRANET 4) Change a system preference setting 5) Note the new line in your log file! Signed-off-by: Srdjan <srdjan@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Created attachment 53877 [details] [review] Bug 16436 [QA Followup] - Use debug instead of info Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 16.11! Pushed in 16.05. Will be in 16.05.03. |