Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

TCP Logging auto-saving log file


Hi, I would like to auto-save the log that is getting listed in the console. Is there anyway to do this?



Hi Fahad,

Thanks for your posting. There’s currently no way to automatically save the log in the Console, but you could simply generate both a log file in your application as well as sending the logging data to the Console. You can specify multiple log protocols like this:

Connections = “tcp(…),file(…)”;

I hope this helps.