Koha-clms/Koha
Kyle M Hall 03c03ed8cd Bug 15253: Add Koha::Logger based logging for SIP2
Now that we have Koha::Logger, we should use it in our SIP server. This
has the potential to make debugging SIP issue much easier. We should add
the userid for the sipuser to the namespace so we can allow for separate
files per sip user if wanted.

Also modifies the log4perl.conf to lazy-open filehandles to log files,
so the same config can be used with log-files needing different
permissions.

Test Plan:
1) Apply this patch set
2) Update the modififed log4perl.conf to your system
3) Restart your sip server
4) Tail your sip2.log, run some queries
5) Note you still get the same output messages as before, with the
   addition of the ip address and username ( if available )
   prefixing the message.

Based on original patches by Kyle Hall and additions by Olli-Antti
Kivilahti.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-18 11:37:27 +00:00
..
Account Bug 22521: (QA follow-up) Corrections to tests 2019-04-17 16:49:36 +00:00
Acquisition Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-11 11:45:24 +00:00
ArticleRequest
…
Authority
…
Biblio Bug 22144: (QA follow-up) Prepare the ground for other formats 2019-01-30 11:50:48 +00:00
BiblioUtils
…
Cache
…
Charges Bug 20912: (QA follow-up) POD fix 2019-03-07 17:29:58 +00:00
Club
…
Config Bug 15494: (follow-up) Move yaml syspref code to its own sub in SySpref object 2018-11-07 21:39:39 +00:00
Edifact
…
Exceptions Bug 21998: Throw exception on bad pattern 2019-03-22 20:21:44 +00:00
Exporter Bug 20486: Add --marc_conditions option to export_records.pl 2018-11-08 02:23:29 +00:00
ExternalContent
…
Filter/MARC
…
Illrequest Bug 20750: Allow logging of arbitrary actions 2019-03-15 19:07:08 +00:00
Indexer
…
Item
…
Library Bug 21910: Does not deal with call context, ->search does already 2018-12-11 19:11:34 +00:00
List
…
MetadataRecord
…
Middleware
…
Misc
…
Notice
…
Number Bug 18736: (follow-up) Fix missing rounding and bad formatting 2019-03-21 16:29:06 +00:00
OAI/Server
…
Object Bug 15774: Remove unecessary returned value for ->delete 2019-03-07 20:37:06 +00:00
Objects/Mixin Bug 15774: (follow-up) Address QA issues 2019-03-07 20:37:05 +00:00
Old
…
Patron Bug 10796: Add Koha::Patron::Category->effective_change_password method 2019-04-12 02:32:06 +00:00
Patrons Bug 22386: Define patron variable when matchign on extended attributes 2019-02-22 13:06:04 +00:00
Plugins Bug 22084: Plugin upgrade method and database plugin version storage will never be triggered for existing installs 2019-02-27 09:14:21 -05:00
QueryParser/Driver
…
REST Bug 21336: Fix the API 2019-04-18 09:49:57 +00:00
RecordProcessor
…
SMS
…
Schema/Result Bug 22532: DBRev 18.12.00.059 2019-04-18 10:51:21 +00:00
SearchEngine Bug 22474: Clone field config before adding fields to it 2019-04-16 13:17:32 +00:00
Serial
…
Sitemapper
…
Subscription Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
SuggestionEngine Bug 14457: (QA follow-up) Fix POD 2019-04-16 13:17:34 +00:00
Tags Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-15 12:27:44 +00:00
Template/Plugin Bug 22318: Extend Koha news feature to include other content areas 2019-04-18 10:47:03 +00:00
Util Bug 21560: create Koha::Util::OpenDocument with subroutine for ODS generation 2019-03-15 12:02:46 +00:00
pdfformat Bug 18736: Use rounding syspref to determine correct prices in calculations 2019-03-21 16:27:09 +00:00
Account.pm Bug 22521: Update fines handling to use accountline.status 2019-04-17 16:49:36 +00:00
ActionLog.pm Bug 22363: (follow-up) Fix pod 2019-03-11 11:22:01 +00:00
ActionLogs.pm Bug 22363: (follow-up) Fix pod 2019-03-11 11:22:01 +00:00
AdditionalField.pm Bug 15774: Add POD and license notices 2019-03-07 20:37:05 +00:00
AdditionalFieldValue.pm Bug 15774: (follow-up) Address QA issues 2019-03-07 20:37:05 +00:00
AdditionalFieldValues.pm Bug 15774: (follow-up) Address QA issues 2019-03-07 20:37:05 +00:00
AdditionalFields.pm Bug 15774: Add POD and license notices 2019-03-07 20:37:05 +00:00
ApiKey.pm
…
ApiKeys.pm
…
ArticleRequest.pm
…
ArticleRequests.pm
…
AudioAlert.pm
…
AudioAlerts.pm
…
AuthUtils.pm Bug 21719: Fix typos 2018-11-08 02:18:46 +00:00
AuthorisedValue.pm
…
AuthorisedValueCategories.pm
…
AuthorisedValueCategory.pm
…
AuthorisedValues.pm
…
Authorities.pm
…
Authority.pm
…
Biblio.pm Bug 22455: Add Koha::Biblio::hidden_in_opac method 2019-03-13 05:31:32 +00:00
BiblioFramework.pm
…
BiblioFrameworks.pm
…
BiblioUtils.pm
…
Biblioitem.pm
…
Biblioitems.pm
…
Biblios.pm
…
Cache.pm Bug 21955: Remove Cache::Memory as fallback for L2 cache 2018-12-11 19:10:46 +00:00
Caches.pm
…
Calendar.pm
…
Checkout.pm
…
Checkouts.pm Bug 14591: book drop / drop box mode incorrectly decrements accrued overdue fines 2019-03-15 12:14:03 +00:00
CirculationRule.pm
…
CirculationRules.pm Bug 18925: Move maxissueqty and maxonsiteissueqty to circulation_rules 2019-03-05 20:41:42 +00:00
Cities.pm
…
City.pm
…
ClassSortRule.pm
…
ClassSortRules.pm
…
ClassSource.pm
…
ClassSources.pm
…
ClassSplitRule.pm Bug 15836: Handle non-existent regexs 2018-11-13 15:18:22 +00:00
ClassSplitRules.pm Bug 15836: Add the ability to defined custom methods to split call number in labels 2018-11-13 15:18:22 +00:00
Club.pm
…
Clubs.pm
…
Config.pm
…
CsvProfile.pm
…
CsvProfiles.pm
…
Database.pm
…
DateUtils.pm Bug 19816: Implement dateonly for rfc3339 format 2019-02-04 14:09:43 +00:00
EDI.pm Bug 22611: Correction for call to get create_item in EDI.pm 2019-03-23 08:30:17 +00:00
Edifact.pm
…
Email.pm
…
Exceptions.pm
…
ExternalContent.pm
…
FieldMapping.pm
…
FieldMappings.pm
…
FrameworkPlugin.pm Bug 22124: Update cataloguing plugin system to not generate type parameter in script tag 2019-01-28 14:53:35 +00:00
Hold.pm Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
Holds.pm
…
I18N.pm Bug 15395: Use POSIX::setlocale 2018-11-08 16:40:05 +00:00
Illcomment.pm
…
Illcomments.pm
…
Illrequest.pm Bug 20563: Allow display of requested partners 2019-03-15 19:33:37 +00:00
Illrequestattribute.pm
…
Illrequestattributes.pm
…
Illrequests.pm
…
IssuingRule.pm
…
IssuingRules.pm
…
Item.pm Bug 22454: Add Koha::Item::hidden_in_opac method 2019-03-13 05:31:31 +00:00
ItemType.pm Bug 20912: (follow-up) Add hourly support 2019-03-07 17:29:56 +00:00
ItemTypes.pm
…
Items.pm
…
Libraries.pm Bug 7614: (QA follow-up) Remove unused variable 2019-01-25 16:07:07 +00:00
Library.pm
…
Linktracker.pm
…
Localization.pm
…
Localizations.pm
…
Logger.pm Bug 15253: Add Koha::Logger based logging for SIP2 2019-04-18 11:37:27 +00:00
Manual.pm Bug 19747: Add link to article requests help page 2019-04-11 11:32:51 +00:00
MarcSubfieldStructure.pm
…
MarcSubfieldStructures.pm
…
MetaSearcher.pm
…
MetadataIterator.pm
…
MetadataRecord.pm
…
MoreUtils.pm
…
News.pm
…
NewsItem.pm
…
OAuth.pm
…
OAuthAccessToken.pm
…
OAuthAccessTokens.pm
…
Object.pm Bug 21610: Improve default values for dates 2019-02-01 20:19:54 +00:00
Objects.pm
…
Patron.pm Bug 21336: (follow-up) Handle strict SQL mode in _anonymize_column 2019-04-17 12:25:24 +00:00
Patrons.pm Bug 21336: Adjust cleanup_database.pl 2019-04-17 12:25:24 +00:00
Plugins.pm
…
RDF.pm
…
Rating.pm
…
Ratings.pm
…
RecordProcessor.pm
…
RefundLostItemFeeRule.pm
…
RefundLostItemFeeRules.pm
…
Report.pm Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
Reports.pm Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
Review.pm
…
Reviews.pm
…
Schema.pm
…
Script.pm Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
SearchEngine.pm
…
SearchField.pm Bug 18316: (follow-up) Koha::SearchField::search_marc_maps return a result set - code refactoring for gettings weighted fields - Koha::SearchFields::weighted_fields return a result set 2018-11-07 22:00:31 +00:00
SearchFields.pm Bug 18316: (follow-up) Koha::SearchField::search_marc_maps return a result set - code refactoring for gettings weighted fields - Koha::SearchFields::weighted_fields return a result set 2018-11-07 22:00:31 +00:00
SearchMarcMap.pm
…
SearchMarcMaps.pm
…
Serial.pm
…
Serials.pm
…
SharedContent.pm Bug 22222: Don't send empty params to mana service 2019-03-15 12:08:42 +00:00
SimpleMARC.pm
…
Sitemapper.pm
…
StockRotationItem.pm
…
StockRotationItems.pm
…
StockRotationRota.pm
…
StockRotationRotas.pm
…
StockRotationStage.pm
…
StockRotationStages.pm
…
Subscription.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
Subscriptions.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
Suggestion.pm
…
SuggestionEngine.pm
…
Suggestions.pm
…
Tag.pm Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-15 12:27:44 +00:00
Tags.pm Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-15 12:27:44 +00:00
Token.pm Bug 21998: Throw exception on bad pattern 2019-03-22 20:21:44 +00:00
UploadedFile.pm
…
UploadedFiles.pm
…
Uploader.pm
…
Virtualshelf.pm
…
Virtualshelfcontent.pm
…
Virtualshelfcontents.pm
…
Virtualshelfshare.pm
…
Virtualshelfshares.pm
…
Virtualshelves.pm
…
XSLT_Handler.pm
…
Z3950Server.pm
…
Z3950Servers.pm
…