Hi!
A question related to your suggestion about using dcmtk-3.6.7-win64-dynamic:
I am using dcmtk-3.6.7-win64-dynamic and something that I have noticed with this version: I can't write the display output to a log file.
movescu.exe -aet SUSMEMAP01 -aec VGRRTG -aem SUSMEMAP01 -k 0008,0052=STUDY -k 0020,000D=2.16.840.1.113669.632.10.99.1014.4511.23827.289452432 -k 0010,0020=196301302359 -ll trace dicom.bfr.vgregion.se 104 >C:\temp\bin\kopiera.txt
Do you know, how I should write the output to a log file in this version. I didn't have any problem doing this with earlier versions!
Best Regards
Nasser Hosseini
movescu.exe: cannot redirect output to log file
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2505
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: movescu.exe: cannot redirect output to log file
In more recent DCMTK versions, the stderr stream is no longer merged with stdout (on Windows systems). That means, if you want to redirect stderr to a file you could e.g. use "2> logfile.txt" or "2>&1 logfile.txt".
Alternatively, you could use an appropriate logger configuration.
Alternatively, you could use an appropriate logger configuration.
Re: movescu.exe: cannot redirect output to log file
Good morning!
Thanks a lot! It works now like a charm.
Have a nice day
Nasser Hosseini
Thanks a lot! It works now like a charm.
Have a nice day
Nasser Hosseini
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest