Lines 173-178
EOF
Link Here
|
173 |
fi |
173 |
fi |
174 |
done |
174 |
done |
175 |
|
175 |
|
|
|
176 |
for site in $(koha-list); do |
177 |
log4perl_config="/etc/koha/sites/$site/log4perl.conf" |
178 |
if [ !log4perl_component $log4perl_config "sip" ]; then |
179 |
cat <<EOF >> $log4perl_config |
180 |
log4perl.logger.sip = DEBUG, SIP |
181 |
log4perl.appender.SIP=Log::Log4perl::Appender::File |
182 |
log4perl.appender.SIP.filename=/var/log/koha/$site/sip.log |
183 |
log4perl.appender.SIP.mode=append |
184 |
log4perl.appender.SIP.layout=PatternLayout |
185 |
log4perl.appender.SIP.layout.ConversionPattern=[%d] [%p] %X{accountid}@%X{peeraddr}: %m %l %n |
186 |
log4perl.appender.SIP.utf8=1 |
187 |
|
188 |
EOF |
189 |
fi |
190 |
done |
191 |
|
176 |
# Bug 14106 - fix the modulePath of existing koha instances so that it'll |
192 |
# Bug 14106 - fix the modulePath of existing koha instances so that it'll |
177 |
# continue to work. This will only patch the files if the exact original string |
193 |
# continue to work. This will only patch the files if the exact original string |
178 |
# that we're fixing them from is there, so we just run it every time. Maybe |
194 |
# that we're fixing them from is there, so we just run it every time. Maybe |