1. Ever since the last Rust patch update, my server no longer stores death logs... I use to Splunk to index all sorts of data (one of which is death logs). Typically, the server wrote to \server\<servername>\Log.Log.txt, however my last log is October 26 2017. Did they move where this is tracked and recorded now?
     
  2. Wulf

    Wulf Community Admin

    Those log files are no longer created as of the last Rust update. You can have the Unity log generated by setting -logfile to the path/filename you'd like though.
     
  3. Where would I go to enable the Unity logging?
     
  4. Wulf

    Wulf Community Admin

    You'd add the startup argument that I mentioned in the previous post.
     
  5. Ok, ill give it a shot, thanks
     
  6. Hi maybe I am stupid but I cant find any usefull logs in last version like Log.Warning , Log.Log, Log.Exception. There is only eac log which is the only thing I don't need. Is it hidden in different folder or did they just removed it? Do we need to enable it with some command or something like that? I haven't found any info about that anywhere.
     
  7. Wulf

    Wulf Community Admin

    Those log files are no longer created as of the last Rust update. You can have the Unity log generated by setting -logfile to the path/filename you'd like though.
     
  8. Wulf, can you explain how to do this? Maybe draw me a picture or something so I don't get confused?! I host with GameServers, if that changes the approach.

    Would I put "logfile filename.txt" in my server.cfg file, or do I put "-logfile filename.txt" in my config line on GameServers? (This is where I used to put -keeplogs)

    EDIT - Also, where do you recommend I put the file in my FTP directory?
     
  9. I'm not sure whether you can put logfile in server.cfg because unity starts logging BEFORE server.cfg is ran.

    Modify your startup parameters and add -logfile filename.txt, however in my past experience there was limitations to what could be added to startup parameters so you might not be able to.

    If you can't figure it out it would be best to send a support ticket to your provider as they'll know more about their service than we would.
     
  10. Wulf

    Wulf Community Admin

    That'd be correct since it's a Unity arg, not from Rust.
     
  11. Yeah, that sounds like a pain. I just installed Logger!
     
  12. Hi, actually i did it and the log file shown at the path i specific, but there is no time stamp inside the log file. How can i add the time stamp into the log?
    Thanks
    Oscar
     
  13. You can't.
     
  14. Wulf

    Wulf Community Admin

    If you're logging via Oxide, then it has timestamps as an option, which would be enabled by default I believe. No idea what method you'd be using otherwise for the log.
     
  15. How can i check the timestamps option? i just simply add -logfile in my startup batch file like below.
    Code:
    @echo off
    cls
    :start
    echo Starting server...
    RustDedicated.exe -logfile "z:\Rustlog.txt" -batchmode -nographics +server.ip 0.0.0.0 +rcon.ip 0.0.0.0 +server.port 28015 +rcon.port 28016
    Then i found no timestamp into rustlog.txt
    Some content into the log file below.
    Code:
    Initialize engine version: 2017.1.2f1 (cc85bf6a8a04)
    Forcing GfxDevice: Null
    NullGfxDevice:
        Version:  NULL 1.0 [1.0]
        Renderer: Null Device
        Vendor:   Unity Technologies
    Begin MonoManager ReloadAssembly
    Platform assembly: D:\Rust\server\RustDedicated_Data\Managed\UnityEngine.dll (this message is harmless)
    Loading D:\Rust\server\RustDedicated_Data\Managed\UnityEngine.dll into Unity Child Domain
    Platform assembly: D:\Rust\server\RustDedicated_Data\Managed\I18N.dll (this message is harmless)
    Platform assembly: D:\Rust\server\RustDedicated_Data\Managed\I18N.West.dll (this message is harmless)
    Platform assembly: D:\Rust\server\RustDedicated_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
    Loading D:\Rust\server\RustDedicated_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
    Platform assembly: D:\Rust\server\RustDedicated_Data\Managed\Assembly-CSharp.dll (this message is harmless)
    Loading D:\Rust\server\RustDedicated_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
    .
    .
    .
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)[JPipes] 0 pipes saved(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Saved 12,728 ents, serialization(0.00), write(0.01), disk(0.01) totalstall(0.03).(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Saving complete(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)[JPipes] 0 pipes saved(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Saved 12,774 ents, serialization(0.00), write(0.01), disk(0.01) totalstall(0.03).(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Saving complete(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
    It is perfect if the log can contain timestamp
     
  16. Wulf

    Wulf Community Admin

    That's the Unity log, so that's about all you'd get there.
     
  17. I see.. so no any other options to add time stamp into unity log?
     
  18. Wulf

    Wulf Community Admin

    No, but you can make your own logs such as how the Logger plugin does.