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