projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed0d025
)
compress output of AUDIT messages
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Nov 2021 10:49:37 +0000
(11:49 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Nov 2021 10:49:37 +0000
(11:49 +0100)
lib/PXElator/store.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/store.pm
b/lib/PXElator/store.pm
index
159484f
..
09c46ef
100644
(file)
--- a/
lib/PXElator/store.pm
+++ b/
lib/PXElator/store.pm
@@
-64,7
+64,9
@@
sub audit {
if ( $audit ) {
$audit->insert( $data );
} else {
- warn "AUDIT ",dump($data);
+ my $dump = dump($data);
+ $dump =~ s/[\s\n\r]+/ /gs;
+ warn "AUDIT ",$dump;
}
}