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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Generate encryption output_log.txt

Discussion in 'Windows' started by Dzxyan, May 11, 2016.

  1. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
    Question 1:
    is it possible generate encryption output_log.txt?
    i needed it for checking log if client have any failure,
    but want avoid client check themselves.

    Question 2:
    is it possible generate multiple output_log.txt?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    No, Unity doesn't encrypt log files. You could I guess workaround it by doing your own logging, by using http://docs.unity3d.com/ScriptReference/Application-logMessageReceived.html, encrypting the message, and writing to your own log file.

    It's possible by using -logFile http://docs.unity3d.com/Manual/CommandLineArguments.html. I guess in this case you could make a standalone application (a.k.a launcher) which would run your game and pass -logfile <filename> accordingly.
     
  3. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
    is it possible have a complete log like output log?
    i try get client OS and driver as well.


    [QUOTE="It's possible by using -logFile http://docs.unity3d.com/Manual/CommandLineArguments.html. I guess in this case you could make a standalone application (a.k.a launcher) which would run your game and pass -logfile <filename> accordingly.[/QUOTE]

    cannot control when in Unity apps?
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    You could output this info using http://docs.unity3d.com/ScriptReference/SystemInfo.html class

    No, that's why I said, you have to make a launcher app which would launch your original app with additional arguments.