• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

HowTo make instance logs longer?

Status
Not open for further replies.

Velaxers

Member
Hello,

The Instance log on the Web interface is really short for me, I need to read even older logs, and I can't see a log folder.
Any idea?
 

Velaxers

Member
config.ini
Code:
LogFile = "" // set path to logfile
Should I set the path to a folder or to a text file?
Code:
LogFile = "C:\\Users\\root\\Desktop\\Team Speak 3 Server + bot\\SinusBot\\Logs.txt"
or
Code:
LogFile = "C:\\Users\\root\\Desktop\\Team Speak 3 Server + bot\\SinusBot"
and it will regenerate a log file?
 

Velaxers

Member
text file, and just to be sure it's written to, make a blank file yourself.
I made it like this
Code:
LogFile = "C:\\Users\\root\\Desktop\\Team Speak 3 Server + bot\\SinusBot\\Logs.txt"
and now the bot doesn't start, is there anything wrong with it?
 

kanalumaddela

Insider
Insider
and now the bot doesn't start, is there anything wrong with it?
It could be where you specified the folder, but I don't know exactly the way it's supposed to on Windows. Try referencing a path that doesn't include spaces.

I know on Linux that when using the logfile, the console will not show anything since it's all going to the file.
 

Velaxers

Member
It's working now, problem is that it doesn't accept capital letters, so I changed it from "Logs.exe" to "logs.exe" in the config, and renamed the notepad file to "logs".
 
Status
Not open for further replies.
Top