|
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.layout=PatternLayout |
| 172 |
log4perl.appender.SIP.layout.ConversionPattern=[%d] [%p] %X{accountid}@%X{peeraddr}: %m %l %n |
| 173 |
log4perl.appender.SIP.utf8=1 |
| 174 |
|
| 175 |
EOF |
| 176 |
fi |
| 177 |
done |
| 178 |
|
| 163 |
# Bug 14106 - fix the modulePath of existing koha instances so that it'll |
179 |
# 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 |
180 |
# 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 |
181 |
# that we're fixing them from is there, so we just run it every time. Maybe |