Can't find the logs that generated from TextWriter RRS feed

  • Question

  • Dear,

    We have web app instance with a web job in it, our code could catch the exception during the running and log it with TextWriter, the codes are like this:

                        if (retry >= maxretry)
                            log.WriteLine(GetLogMessage("Generate tile failed:" + exc.Message));
                            throw exc;

    As I remembered if the job fun failed, we can find in logs that which step has failed, and fix it, but today the job failed again, but when I trying to search the logs, the log that TextWritter generated has disappeared, we can only find the Toggle Output  logs.

    Where can I find the TextWritter logs?

    Thursday, June 30, 2016 8:12 AM

All replies