CCLogger
CCLogger v4.0.2
Features
CCLogger logs commands, chat, and logins/logouts to a very easy-to-read log file.
- Logs commands.
- Logs global chat.
- Logs deaths.
- Logs logins/logouts.
- Additionally logs each player in separate log files.
- Full customization of how the log file is formatted.
Instructions
- Download the plugin.
- Put jar in plugins folder.
- Start server.
- Edit config to your liking.
- Restart server.
Permissions
Removed permissions.
Commands
Removed commands.
Credits
- MetricsLite to Hidendra
@Alrik94
I will have a look later on this week to. (It's to hot now)
Thx again.
@dutchy1001
http://stackoverflow.com/questions/6865538/solving-a-communications-link-failure-with-jdbc-and-mysql
Take a look at this stackoverflow post. It has similar issues, including reference to "too many connections to a single database".
@dutchy1001
Do you have the latest version of SQLibrary?
@Alrik94
It's the only plugin that has this problem all other 16 I have on the MySQL are working properly.
If 16 db's are fine vs 1 db not fine I'm not sure were to look for the problem then.
@dutchy1001
That looks like something else is causing the connection loss to the MySQL database.
@Alrik94
unfortunaly errors happen again.
I have reverted back to SQLite
Just out curiosity who else is using MySQL with or without problems?
@Alrik94
Many thanks for sorting this out.
testing the MySQL db today
@dutchy1001
I believe I have fixed this problem with the new way that SQLibrary is used. It just requires you to download the SQLibrary plugin and install it into your plugins directory for MySQL to work with CCLogger.
Having the library's source code in CCLogger created issues with other plugins that used SQLibrary, but only depended on it, instead of directly accessing the source code.
I just uploaded a new update to the plugin. It includes better performance and more detailed login/logout logging. Also, now you have to download SQLibrary for databases like MySQL and SQLite to work.
@Alrik94
No, they aren't
can you add ip for playerLogin: true
like
[06/26/2013 11:52:10 AM] xxx logged in. ip:xxx.xxx.xxx.xxx
thanks
@albireox
Are these players by chance OPs?
Some of my players don't have log files. Do you know why this would happen?
@broluigi
hey broluigi put this in your perms under the rank for ops... - -cclogger.exempt
how do i make it so even OPS arent hidden from the logger?
personally i prefer not using MySQL with this plugin. just easier to open the file from inside my server folder. (also easier deleting and editing it)
@Alrik94
the server is on 24/7 and mostly overnight (uk) the server is empty.
As I have 10 other plugins using MySQL without any problem I dont see why this one does.
This is also the reason why I dont want to mess with the MySQL settings incase I bugger up the other 10.
@StanoMalek
What things would you like to see with web statistics?
@dutchy1001
I don't know if this means that CCLogger is the problem here. It could just be your MySQL configuration. Nobody else has had any issues that I know of. Was the server left on for a long period of time with nobody logging on or off, or doing anything chat or command related?
@Alrik94
As I thought this would be a hell of job to find back (I swithed back to SQLite 10days+), the first log I opend was a major one with a long log of the probs.
http://pastebin.com/x0U6pKbn
If you read the line 27 of the log it says something about 'autoReconnect=true'. None of my other MySQL db's have this problem so i dont like to mess with the MySQL settings(if not needed).
I hope you can do some with this.
greetz dutchy