View | Details | Raw Unified | Return to bug 30242
Collapse All | Expand All

(-)a/Koha/REST/V1.pm (+4 lines)
Lines 43-48 Overloaded Mojolicious->startup method. It is called at application startup. Link Here
43
sub startup {
43
sub startup {
44
    my $self = shift;
44
    my $self = shift;
45
45
46
    my $log_level = C4::Context->config('mojo_log_level') ||
47
        ( C4::Context->config('dev_install') ? 'trace' : 'info' );
48
    $self->log->level($log_level);
49
46
    $self->hook(
50
    $self->hook(
47
        before_dispatch => sub {
51
        before_dispatch => sub {
48
            my $c = shift;
52
            my $c = shift;
(-)a/debian/templates/koha-conf-site.xml.in (+5 lines)
Lines 462-466 __END_SRU_PUBLICSERVER__ Link Here
462
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
462
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
463
 -->
463
 -->
464
464
465
 <!-- Uncomment next line to configure mojo log level (REST API).
466
      By default, trace for dev installs and info otherwise.
467
     <mojo_log_level>warn</mojo_log_level>
468
 -->
469
465
</config>
470
</config>
466
</yazgfs>
471
</yazgfs>
(-)a/etc/koha-conf.xml (-1 / +5 lines)
Lines 278-282 Link Here
278
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
278
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
279
 -->
279
 -->
280
280
281
 <!-- Uncomment next line to configure mojo log level (REST API).
282
      By default, trace for dev installs and info otherwise.
283
     <mojo_log_level>warn</mojo_log_level>
284
 -->
285
281
</config>
286
</config>
282
</yazgfs>
287
</yazgfs>
283
- 

Return to bug 30242