I'm seeing a blob of NULLs in the log file for a script that's using Log::Log4perl, like this:
2315760 616f 2064 7661 7265 6761 7365 203a 2e30
o a d sp a v e r a g e s : sp 0 .
2316000 3133 3020 332e 2035 2e30 3233 000a 0000
3 1 sp 0 . 3 5 sp 0 . 3 2 nl nul nul nul
2316020 0000 0000 0000 0000 0000 0000 0000 0000
nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
*
2320000 3032 3432 302f 2f35 3130 3020 3a37 3034
2 0 2 4 / 0 5 / 0 1 sp 0 7 : 4 0
2320020 303a 2032 5245 4f52 2052 203a 2f2e 7263
: 0 2 sp E R R O R sp : sp . / c r
The output is from the command
od -ha cpt3.log.1 | less. Based only on the fact that the NULLs end on a block boundary, I'm wondering if this might be a problem with the hard drive. Thoughts?
Alex / talexb / Toronto
Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.