projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aade3b
)
Möglichkeit, den Dateinamen für Debugmeldungen zu ändern.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 27 Jan 2010 15:30:37 +0000
(16:30 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 19 Jul 2010 16:11:31 +0000
(18:11 +0200)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
efa5f12
..
5f5ddf2
100644
(file)
--- a/
SL/LXDebug.pm
+++ b/
SL/LXDebug.pm
@@
-24,6
+24,7
@@
my $data_dumper_available;
our $global_level;
our $watch_form;
+our $file_name;
BEGIN {
eval("use Data::Dumper");
@@
-38,7
+39,7
@@
sub new {
my $self = {};
$self->{"calldepth"} = 0;
- $self->{"file"} = "/tmp/lx-office-debug.log";
+ $self->{"file"} =
$file_name ||
"/tmp/lx-office-debug.log";
$self->{"target"} = FILE_TARGET;
$self->{"level"} = 0;