You are here

How to write to a log file from the command line?

2 posts / 0 new
Last post
0rz
Offline
Last seen: 6 years 2 weeks ago
Joined: 2018-04-02 08:06
How to write to a log file from the command line?

Sorry I am sure that this is a super stupid question and that I just have the syntax wrong.

But this is what I am using on the command line:

"E:\Toucan\Toucan.exe" -j=BackupC -l="E:\Toucan\log.txt"

Toucan runs my BackupC job, but it does not create a log file. What am I doing wrong?

mac79pr
Offline
Last seen: 5 years 7 months ago
Joined: 2018-09-21 10:53
Did you get this to work?

Hello there,

Did you get this to work? I think you have to use:

"E:\Toucan\Toucan.exe" /J=BackupC /L="E:\Toucan\log.txt"

or

"E:\Toucan\Toucan.exe" --job=BackupC --log="E:\Toucan\log.txt"

Log in or register to post comments