Bug 14751 - Allow C4::Context->interface to be set to 'sip' or 'commandline'
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Aug 2015 11:31:10 +0000 (07:31 -0400)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 04:21:25 +0000 (04:21 +0000)
commit543a7f5081677347b46ce17e9cc7d24faf9d5dab
treecae4c534dfb4f9662b39ccc2508a1a17fb3028d1
parent4c6d3edc0bf95604ee171a5ec34e76a61f100a7d
Bug 14751 - Allow C4::Context->interface to be set to 'sip' or 'commandline'

Koha::Logger allows us to split up logging to separate files based on
the interface. However, right now the interface is limited to just
'opac' or 'intranet'.

We should extend this to allow the interface to also be set to 'sip'
for SIP server logging, and to 'commandline' for cronjobs and all other
command line scripts.

Signed-off-by: Chris <chris@bigballofwax.co.nz>
Does what it says on the tin

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
C4/Context.pm