compiled the actual dcmtk-3.6.1_20140617 Snapshot on linux (Centos 6.5 x64, gcc 4.4.7),
and found, that in the logger output of findscu, odd length UIDs are padded with null Bytes ( \0 ).
This is different to dcmtk-3.6.0, and generates problems in further processing (grep, cut, ..) of the Logfiles. ( "Binary" file is not accepted.)
This seems to be related to: 'what got changed in dcm2xml between 3.6.0 and 3.6.1 (NUL)?' viewtopic.php?f=1&t=3843&hilit=null
To see the \0 Byte in the logger output, you can use "cat -A" on linux:
Code: Select all
./dcmtk-3.6.1/bin/findscu \
--study -k "(0008,0052)=STUDY" --key " (0020,000d)=1.3.12.2.1107.5.99.1.3221.30000014101306262733600000349" \
127.0.0.1 11112 2>&1 |cat -A
I: ---------------------------$
I: Find Response: 1 (Pending)$
I: $
I: # Dicom-Data-Set$
I: # Used TransferSyntax: Little Endian Implicit$
....
I: (0008,0056) CS [ONLINE] # 6, 1 InstanceAvailability$
I: (0020,0000) UL 64 # 4, 1 GenericGroupLength$
I: (0020,000d) UI [1.3.12.2.1107.5.99.1.3221.30000014101306262733600000349^@] # 56, 1 StudyInstanceUID$ <----------
....