Created
January 20, 2010 01:54
-
-
Save jamesgolick/281512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java Logging is Awesome | |
======================= | |
### Since I am incapable of determining information about my own runtime environment, please provide it to me. Also, this is from a *library* and there's no obvious way to turn it off, rendering DEBUG logging statements from my own application all but useless. | |
DEB [20100119-17:50:05.225] httpclient: Java version: 1.6.0_15 | |
DEB [20100119-17:50:05.225] httpclient: Java vendor: Apple Inc. | |
DEB [20100119-17:50:05.226] httpclient: Java class path: /Users/james/bin/sbt-launcher.jar | |
DEB [20100119-17:50:05.226] httpclient: Operating system name: Mac OS X | |
DEB [20100119-17:50:05.226] httpclient: Operating system architecture: x86_64 | |
DEB [20100119-17:50:05.226] httpclient: Operating system version: 10.6.2 | |
### But, it gets worse: | |
DEB [20100119-17:50:13.336] wire: >> "[0x1f][0x8b][0x8][0x0][0xc0][0xf2]OK[0x0][0x3][0xec]ZYs[0xa3][0xd8][0x92][0xee]g~[0x5]q[0xfb][0xe1][0xde][0xe][0x97]-@B[0xcb][0xa9][0xa8][0x98][0x1][0x9][0xc9]H[0xd6].k[0x9b][0xb8][0xf][0x7]8,[0x16][0x9b][0x0][0x9][0xc9][0xbf]~2Ar[0xcb]U[0xee][0xee][0xa9][0x99][0xdb][0xdd]31}[0xa2][0xaa][0xc4][0x92]'[0xf7][0xfc]2[0x81]2}[0x8f][0x85]Y[0xe5][0x87][0xdf]s[0x9][0xb0][0x1a][0xb2]\[0xfc][0xc2][0xfa][0xfa][0xb7]8[0x16][0xc5][0xaa]Tm4[0xc4]*^[0x17]EAj[0xfc][0xc0][0xcb][0xbf][0xab]V[0x97]uH3[0x9a][0xf0][0xfc][0xf]I[0x14]e[0xbf]F[0xf7][[0xf7][0xff][0x8f].[0xb3][0x8c][0xf9][0xf3]`F[0xa1][0xfd][0xaf][0x97][0x81][0x1][0xae][0x1b][0xf7][0xeb]o][0xae][0x1d][0xff][0xaa](W[0xe0][0x85][0xbd]*[0xdf][0xae][0xff][0xe7][0xf1][0xff][0xf1][0xbb][0x16][0xf7]#?[0xa7]A[0xec]3[0xbe]L[0x98][0xfb][0xd4][0xb3][0x18]?[0x8e]Y[0xb8][0x9c][0x8c]x[0xe9]A[0xe0]1[0x83]<[0x87][0xb7]=[0xa0]Ar;J[0xf0]Z[0xc8][0xcc][0xcc][0xb][0x1d]>[0x8b][0xf8][0xe0][0xe0]g[0xde]}[0xb9][0x9f]OYrd[0xc9][0x3][0x8f][0xb][0xc9][0xbf]c![0xf9][0xc2][0xf5][0xd2][0x8b][0xc8]CB3/[\n]" | |
DEB [20100119-17:50:13.337] wire: >> "y[0x93][0x86][0xbc][0xc1][0xf8]C[0xca],[0xde]8[0x97][0xd2][0xe2][0x8b]2[0xa5][0xd0][0xf4][0x13][0xef]F9[0x3][0xb9]<[0xa3][0xa6][0xcb]_Uq[0xa3][0x83]o[0xf1].=[0xb2][0xb]w/K[0xf9]([0x7][0x96],[0xc9]x[0x1a]Z[0xfc][0x8e][0x9d][0xb][0xcb][0xd2][0x87][0x8f][0x94][0xf9]N[0xdd][0xc7]![0xbf][0xf2]B+[0xca]A[0x9f]st[0xe0][0x3][0xcf]q3>[0xa7][0xa0][\n]" | |
Thanks. I really wanted to see a hex representation of all the bytes that I POSTed to that url. That's really useful logging. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment