r1523@llin: dpavlin | 2007-11-04 14:39:39 +0100
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 4 Nov 2007 13:47:02 +0000 (13:47 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 4 Nov 2007 13:47:02 +0000 (13:47 +0000)
 hush all kind of debugging output

git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@992 07558da8-63fa-0310-ba24-9fe276d99e06

conf/log.conf
conf/mungle/perlmonks-xml.pl
lib/WebPAC/Input/XML.pm

index 6f98dba..507930e 100644 (file)
@@ -40,7 +40,7 @@ log4perl.rootLogger=INFO, LOG, SCREEN
 #log4perl.logger.WebPAC.Input.Gutenberg=DEBUG
 #log4perl.logger.WebPAC.Input.DBF=DEBUG
 #log4perl.logger.WebPAC.Input.ISI=DEBUG
-log4perl.logger.WebPAC.Input.XML=DEBUG
+#log4perl.logger.WebPAC.Input.XML=DEBUG
 
 #log4perl.logger.WebPAC.Normalize.=DEBUG
 #log4perl.logger.WebPAC.Normalize.new=DEBUG
index 242b476..dc28d70 100755 (executable)
@@ -1,7 +1,7 @@
 # special mungle file which prepare data_structure from XML
 
 my $h = get_ds->{node};
-warn "## $0 hash to work on = ",dump( $h );
+#warn "## hash to work on = ",dump( $h );
 
 set_ds(
        Title =>        $h->{title},
index a309066..e989023 100644 (file)
@@ -64,7 +64,7 @@ sub new {
 
        my $arg = {@_};
 
-warn "#### arg = ",dump( $arg );
+#warn "#### arg = ",dump( $arg );
 
        my $log = $self->_get_logger();
 
@@ -130,22 +130,22 @@ sub fetch_rec {
        if ( my $rules = $self->{mungle_rules} ) {
 
                sub get_ds {
-                       warn "### get_ds xml = ",dump($xml);
+#                      warn "### get_ds xml = ",dump($xml);
                        return $xml;
                }
                sub set_ds {
                        my $hash = {@_};
-                       warn "### set_ds hash = ",dump($hash);
+#                      warn "### set_ds hash = ",dump($hash);
                        foreach my $f ( keys %$hash ) {
-                               warn "+++ $f ", dump( $hash->{$f} ),"\n";
+#                              warn "+++ $f ", dump( $hash->{$f} ),"\n";
                                $ds->{$f} = $hash->{$f};
                        }
-                       warn "### set_ds mungle_ds = ",dump($ds);
+#                      warn "### set_ds mungle_ds = ",dump($ds);
                }
                eval "$rules";
                $log->logdie("mungle rules $path error: $@") if $@;
 
-               warn "### set_ds after mungle_rules ds = ",dump($ds);
+#              warn "### set_ds after mungle_rules ds = ",dump($ds);
        } else {
 
                $ds = $xml;