AWS Thinkbox Discussion Forums

Access log of currently-executing task?

As the title says, is there any way to get access to the log of a currenlty-executing task programmatically?

Unfortunately, no. The only way to see the log of the current task is to connect to the slave remotely and stream its log.

That being said, you can connect to the slave log using deadlinecommand:

deadlinecommand -ConnectToSlaveLog SLAVENAME

So you could run this from a script and redirect the stdout. Not sure if that would be an option for you…

Cheers,
Ryan

OK, I had a feeling, but I didn’t know if there was some hidden magic somewhere. Since I need to have access to the complete log with no overflow into previous tasks, I’ll probably just install a catch-all stdout handler callback.

Privacy | Site terms | Cookie preferences