Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question something about unity logging package

Discussion in 'Scripting' started by ExcellencyHong, Oct 8, 2023.

  1. ExcellencyHong

    ExcellencyHong

    Joined:
    Aug 9, 2016
    Posts:
    32
    i'm using first the unity logging package.
    and then i did sink log to file with rolling,

    but, it is always rewrite file. so when i execute my built file, be deleted all past logs in a file had same name.

    i cannot the application close and relaunch after while it's running.
    then all past logs will be disappeared.
    the log must be remain in any circumstances. isn't it?

    and, i set the rolling threshold time span to a day, but the log file created all the minute.

    How do I enable logs to be appended to a file?
    how can i set the rolling by a day?