Koha/debian
Marcel de Rooy ef81785d76
Bug 31469: log4perl.conf: Add %n to conversionpattern for Plack
The PLACKOPAC, PLACKAPI and PLACKINTRANET appenders still need %n
(i.e. a newline). Note that this patch does not add %l since it
is a bit confusing because it adds a lot of Plack internal noise like:
    [2022/09/29 08:51:34] [WARN] Test mainpage CGI::Compile::ROOT::usr_share_koha_mainpage_2epl::__ANON__ /usr/share/koha/mainpage.pl (49)

The patch is a result of:
    git grep -l "log4perl.appender.PLACK" | xargs sed -i -e"/ConversionPattern/ s/%m$/%m%n/"

Test plan:
First run: sed -i -e"/ConversionPattern/ s/%m$/%m%n/" /etc/koha/sites/[YOUR_CLONE]/log4perl.conf
Edit that file, change PLACKOPAC to debug level like:
    log4perl.logger.plack-opac = DEBUG, PLACKOPAC
Restart.
Hit an OPAC page twice.
Check plack-opac logfile and verify that it contains a newline between last two messages like:
    [2022/09/29 08:04:30] [DEBUG] kohaversion : 22.0600054
    [2022/09/29 08:04:42] [DEBUG] kohaversion : 22.0600054

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-12 14:58:40 -03:00
..
docs Bug 17379: Add a man page for koha-passwd (2) 2022-10-11 10:10:04 -03:00
scripts Bug 21366: Add --reload option to koha-plack help/manual 2022-08-26 15:52:06 -03:00
source
templates Bug 31469: log4perl.conf: Add %n to conversionpattern for Plack 2022-10-12 14:58:40 -03:00
bd-to-depends
build-git-snapshot
changelog
compat
control
control.in Bug 26685: Move starman out of debian/control.in and into cpanfile 2022-03-22 10:17:34 -10:00
copyright
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily Bug 19532: (QA follow-up) Add the cron jobs to the cron files 2022-03-14 22:45:52 -10:00
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs
koha-common.init Bug 27783: Add queue handling in packaging tools 2022-04-13 15:55:40 +02:00
koha-common.install
koha-common.links
koha-common.logrotate
koha-common.postinst Bug 31469: log4perl.conf: Add %n to conversionpattern for Plack 2022-10-12 14:58:40 -03:00
koha-common.preinst
koha-common.README.Debian
koha-common.templates
koha-core.bash-completion
koha-core.config
koha-core.default
koha-core.dirs
koha-core.docs
koha-core.init
koha-core.install
koha-core.links
koha-core.logrotate
koha-core.postinst Bug 31469: log4perl.conf: Add %n to conversionpattern for Plack 2022-10-12 14:58:40 -03:00
koha-core.preinst
koha-core.templates
koha-full.postinst
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 29882: remove unrequired package definitions in list-deps script 2022-09-07 13:17:59 -07:00
README.build
rules
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.