PDA

View Full Version : Logging problem


xRichard
23-03-2008, 16:37
Hi,

I keep having problems with my logs.
As soon as the log is full and teamspeak builds a new log it stops writing into it and to fix it i have to restart the teamspeak-server daemon.

I was wondering how could i fix this.
I was thinking about making the log bigger but couldn't find that, or if someone has had the same problem but fixed it with a script or something running in the backgroud that would be great too.

[log]
access_r=1
access_u=1
channel_registerred=1
channel_unregisterred=1
sa=1
chat=1
kick_server=1
kick_channel=1

This is the log part of my server.ini

My system is:
Debian Etch (Debian 4)
I installed the server using apt-get install teamspeak-server
It has the most recent server binary

And to restart it it's very annoying.
Ps, i use the log to check certain stuff like: people that are abusing certain stuff.

I do got TS2perlmod running but i just wanna keep using all the functions from the log so turning stuff off isn't an option.

BHKai
23-03-2008, 18:50
Mine just keeps writing to the same one. Been over a year of writing to the same file. What does yours stop at?

xRichard
23-03-2008, 19:27
It just stops when it has a certain limit, the last one stopped @ 252KB

Doesn't give an error or something at the end just builds a new log and doesn't write in it.

Here is a little bit from the end of the log:
23-03-08 14:41:48,ALL,Info,AccessLog, SID: 1 client connected [IP: xx.xx.xx.xx, Nick: Bl4ckPhoen1X, LoginName: xxxxxxxxx, DBID: 25, Version: 2.0.32.60]
23-03-08 14:41:48,ALL,Info,SALog, SID: 1 serveradmin connected [IP: xx.xx.xx.xx, Nick: Bl4ckPhoen1X, LoginName: xxxxxxxxx]
23-03-08 14:55:59,ALL,Info,AccessLog, SID: 1 client connected [IP: xx.xx.xx.xx, Nick: Bert , LoginName: xxxxxxxxx, DBID: 84, Version: 2.0.32.60]
23-03-08 14:56:09,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Bert , LoginName: xxxxxxxxx, DBID: 84]
23-03-08 14:59:48,ALL,Info,server, Server shutdown initialized
23-03-08 14:59:48,ALL,Info,server, Stopping VirtualServer id:1 with port:60000
23-03-08 14:59:48,ALL,Info,server, Stopped VirtualServer id:1 with port:60000
23-03-08 14:59:56,ALL,Info,server, Server shutdown finished
---------------------------------------------------------------
--------------- log ended at 23-03-08 14:59 --------------
---------------------------------------------------------------


Hmmmm that is strange, it has written the shutdown in the teamspeak-server.log.0 and the start-up in the new file it made. (No i don't make these logs myself it does this auto)

BHKai
24-03-2008, 01:02
I have no idea. Mine right now is over a meg.

xRichard
20-04-2008, 14:03
Are there more people that have had this problem or am i the only one?
And if more people have this problem who has solved it?

xRichard
21-04-2008, 16:09
I found the problem.

The auto-rotate system rotated the log file every 7 days.

So in case you got the same problem: Just check your log rotation.
(I removed the teamspeak-server file from this folder: /etc/logrotate.d/ )

And it worked :D