Logger

Moved

Total Downloads: 3,428 - First Release: Oct 22, 2014 - Last Update: Dec 12, 2017

5/5, 24 likes
  1. Hi Wulf,
    I can't get 2.2.1 to log chat on my Reign of Kings server, even though I have it set to 'true'. I can't get the old Logs.cs to log chat either, nor the old CommandLogger.cs. I need to have global chat logged on my RoK server.
    Any ideas?

    Thank you.
     
  2. Wulf

    Wulf Community Admin

    Sounds like you may be using an older Oxide build.
     
  3. I have my server through Streamline Servers,, so wouldn't they be using the latest Oxide build? How can I check?

    Thank you.
     
  4. Wulf

    Wulf Community Admin

    You can check using the oxide.version command and reviewing our changelog thread else OxideMod/Oxide.ReignOfKings.
     
  5. All fixed now, thank you so much Wulf!
     
  6. @Wulf
    Logger threw this message in my output.txt then kicked everyone from my server immediately after

    Code:
    Failed to call hook 'OnRconCommand' on plugin 'Logger v2.2.1' (IOException: Sharing violation on path C:\Users\Administrator\Desktop\SteamCMD\rust\oxide\logs\Logger\logger_commands-2018-07-09.txt)
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
      at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool)
      at Oxide.Plugins.CSharpPlugin.LogToFile (System.String filename, System.String text, Oxide.Core.Plugins.Plugin plugin, System.Boolean timeStamp) [0x0006d] in <2dad53883fcd4b7faaf900f511ce972a>:0
      at Oxide.Plugins.Logger.Log (System.String filename, System.String key, System.Object[] args) [0x00044] in <e5fc64d02da742b484053320cd59bf98>:0
      at Oxide.Plugins.Logger.OnRconCommand (System.Net.IPEndPoint ip, System.String command, System.String[] args) [0x000e4] in <e5fc64d02da742b484053320cd59bf98>:0
      at Oxide.Plugins.Logger.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0048d] in <e5fc64d02da742b484053320cd59bf98>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <2dad53883fcd4b7faaf900f511ce972a>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <a178d34943f746dd9b92eeffb8beec48>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <a178d34943f746dd9b92eeffb8beec48>:0 
    just wanted to give you a heads up.