PoC Log
Principle. Debugger prevented. The best strategy to have a debugger is avoiding it's usage.
Just will you need to prog a logging stream. Like this for starter:
Which, if smart done, can be parsed for processing further using sed, awk and grep. Errors must be precalculated, then bugs start disappearing long on the run.
Chaos does surely need it's algorithmic.
That's how!
Just will you need to prog a logging stream. Like this for starter:
b@puter:~$ release.[exe]
DEBUG - [ENV.pm :281] - load environment of system variables.
DEBUG - [ENV.pm :281] - variables read out.
DEBUG - [ENV.pm :281] - here: /home, root = $HOME/$EXEC/
DEBUG - [ENV.pm :281] - cfgs under: /home/cpi/etc
DEBUG - [ENV.pm :281] - adjust internal libary search path.
DEBUG - [ENV.pm :283] - start -] load library path for custom perl modules from '/home/cpi/lib/pl' ./. orig: '/home/cpi/lib/pl'.
DEBUG - [ConfigurationManager.pm:238] - (ConN) Configuration manager started.
DEBUG - [ConfigurationManager.pm:119] - (getS) return singleton for CM; obj = 'conf::ConfigurationManager=HASH(0x9ebe164)'.
TRACE - [ConfigData.pm :200] - (_setup.cf) cf-mgr [ conf::ConfigurationManager=HASH(0x9ebe164)]
DEBUG - [ConfigData.pm :243] - (__init.fi) ent-qry-cfg-files - [$HOME/$EXEC/etc]/($HOME/$EXEC/etc/ofb/query/entity-main-view.cfg, $HOME/$EXEC/etc/ofb/query/entity-sub-view.cfg, $HOME/$EXEC/etc/ofb/query/entity-item-view.cfg, $HOME/$EXEC/etc/ofb/query/xobject-4-itext-view.cfg);
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/entitys/main, param = $HOME/$EXEC/etc/ofb/query/entity-main-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/entitys/sub, param = $HOME/$EXEC/etc/ofb/query/entity-sub-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/entitys/item, param = $HOME/$EXEC/etc/ofb/query/entity-item-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/entitys/node, param = $HOME/$EXEC/etc/ofb/query/entity-node-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/xobject/itx4xent, param = $HOME/$EXEC/etc/ofb/query/xobject-4-itext-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = querys/entitys/parent, param = $HOME/$EXEC/etc/ofb/query/entity-parent-view.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = views/entitys/main, param = $HOME/$EXEC/etc/ofb/views/view-main.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = views/entitys/sub, param = $HOME/$EXEC/etc/ofb/views/view-sub.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = views/entitys/item, param = $HOME/$EXEC/etc/ofb/views/view-item.cfg ).
TRACE - [ConfigurationManager.pm: 91] - __registering configuration ( type = configso, idpath = views/entitys/node, param = $HOME/$EXEC/etc/ofb/views/view-node.cfg ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/entitys/main ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/entitys/sub ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/entitys/item ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/entitys/node ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/xobject/itx4xent ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = querys/entitys/parent ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = views/entitys/main ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = views/entitys/sub ).
TRACE - [ConfigurationManager.pm:205] - __getting according to ( type = configso, idpath = views/entitys/item ).
TRACE - [ConfigData.pm :275] - (_setup.cf) service-objects - [ Config::Simple=HASH(0xac34194), Config::Simple=HASH(0xac3a610), Config::Simple=HASH(0xac3a9bc), Config::Simple=HASH(0xac3afd4), Config::Simple=HASH(0xac400f8) ]
WARN - [wsinterl.xmlrpc.pl :223] - Server-Msg: Unknown agent alias "C³PI - f.w.-ed.".
DEBUG - [OFBBroker.pm :469] - (___.read-]ent:FILE) [/home/ubnw/cyberpunk/laf/ws/build/013/q2/mt06/wk3/main/locales_obausgang.est.xml.
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iObjectDataFields/iObjectDataField[@name='ident']/@value';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iObjectDataFields/iObjectDataField[@name='title']/iValue/text()';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iObjectDataFields/iObjectDataField[@name='on']/@value';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iObjectDataFields//iObjectDataField[@name='dateofpublish']/iValue';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iRelations/iObjectRelated[@obj-type='itextfile' and @type='filename' and @name='content']/@value';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//iObject/iObjectDataFields/iObjectParent[@name='ident']/@value';
DEBUG - [wsinterl.xmlrpc.pl :326] - (ofbread) mo - title: 'Championship Final';
DEBUG - [wsinterl.xmlrpc.pl :326] - (ofbread) mo - oname: 'ChampionshipFinal';
DEBUG - [wsinterl.xmlrpc.pl :326] - (ofbread) mo - pdate: '2013-06-01 20:45'.
DEBUG - [wsinterl.xmlrpc.pl :326] - (ofbread) mo - ixsrc: 'ChampionshipFinal.itxt';
DEBUG - [wsinterl.xmlrpc.pl :326] - (ofbread) mo - parid: 'user'.
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//Rubrique/header/Title/text()';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//Rubrique/header/ObjectName/text()';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//Rubrique/config/pub-url-prefix';
DEBUG - [OFBBroker.pm :469] - (xml.read-]xpath) query-stmt: '//Rubrique/related-parts/folder/@refid';
DEBUG - [wsinterl.xmlrpc.pl :313] - (ofbread) po - title: 'Underground Sports-Event Recruting';
DEBUG - [wsinterl.xmlrpc.pl :313] - (ofbread) po - oname: 'User';
DEBUG - [wsinterl.xmlrpc.pl :313] - (ofbread) po - upfix: 'usr'.
DEBUG - [wsinterl.xmlrpc.pl :379] - (do.) will work with: $HOME/$PROJECT/build/013/q2/mt06/wk0/pub/released.h.etxt.user_championshipfinal.20130604T201202.wsi.html
DEBUG - [wsinterl.xmlrpc.pl :379] - (do.) will work with: $HOME/$PROJECT/build/013/q2/mt06/wk0/html/politics_user_championshipfinal.htxt.pub.main.rstst.htform.srvhost.20130604T201202.wsi.html
DEBUG - [wsinterl.xmlrpc.pl :379] - (do.) will work with: $HOME/$PROJECT/build/013/q2/mt06/wk0/html/politics_user_championshipfinal.htxt.pub.main.pkrec.xmlrpc.srvhost.20130604T201202.wsi.html
DEBUG - [Text2TextFilter.pm : 75] - (_cmd:sed) run: 'echo "Championship Final" | sed -f $HOME/$EXEC/filter.unichar.sed'
DEBUG - [Text2TextFilter.pm : 78] - (__sed) result: 'Championship Final'
DEBUG - [Text2TextFilter.pm : 75] - (_cmd:sed) run: 'echo "Championship Final" | sed -f $HOME/$EXEC/transformation/char/anylangasciitounicoderawmap.sed'
DEBUG - [Text2TextFilter.pm : 78] - (__sed) result: 'Championship Final'
DEBUG - [FileUtils.pm :284] - (file:read) reading of file '$HOME/$PROJECT/build/013/q2/mt06/wk0//htxt/User_ChampionshipFinal.htxt' finished.
DEBUG - [FileUtils.pm :284] - -- Filesize(internal): 1614
INFO - [wsinterl.xmlrpc.pl :160] - login via rpc.
DEBUG - [wsinterl.xmlrpc.pl :171] - (rpc-login) successful; '418667508'.
INFO - [wsinterl.xmlrpc.pl :451] - (__flow) xmlrpc returned with (object-id: 418667508, error-code: 0, err-msg: O.K.)
ERROR - [wsinterl.xmlrpc.pl :214] - Server-Msg: Error GETing <a href="https://www.twoday.net/members/login">http://www.twoday.net/members/login</a>: Can't connect to www.twoday.net:80 (Bad hostname).
DEBUG - [wsinterl.xmlrpc.pl :270] - (hform) fetched login page 'https://www.twoday.net/members/login' succesfully.
ERROR - [wsinterl.xmlrpc.pl :214] - Server-Msg: No form defined.
Can't call method "value" on an undefined value at /usr/local/share/perl/5.12.4/WWW/Mechanize.pm line 1533.
Which, if smart done, can be parsed for processing further using sed, awk and grep. Errors must be precalculated, then bugs start disappearing long on the run.
Chaos does surely need it's algorithmic.
That's how!
bnw - 2013/07/10 06:00 - last edited: 2013/07/09 12:58
Trackback URL:
https://bnw.twoday.net/stories/admin-poclog/modTrackback