SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 18/02/2017, 11:36 AM   #31
vasyok28
Little Clucker
 
Join Date: Jan 2016
Posts: 14
Reputation: 0
Default Re: Log plugin

CentOS6 No support?
vasyok28 is offline   Reply With Quote
Old 18/02/2017, 12:11 PM   #32
maddinat0r
Gangsta
 
maddinat0r's Avatar
 
Join Date: Jun 2010
Location: Germany
Posts: 881
Reputation: 459
Default Re: Log plugin

Quote:
Originally Posted by maxisaibot View Post
How can i create dynamic date format log file name? Example car/1/car-1-2016-12-30.log "CreateLog" looks static
That's not possible at the moment. Log rotation would be a nice feature though.

Quote:
Originally Posted by vasyok28 View Post
CentOS6 No support?
No.
maddinat0r is offline   Reply With Quote
Old 18/02/2017, 01:57 PM   #33
ranme15
Big Clucker
 
ranme15's Avatar
 
Join Date: Aug 2010
Posts: 165
Reputation: 3
Default Re: Log plugin

Is there an option to remove the line address of the log code? (the ending of a log line)
__________________
INACTIVE
ranme15 is offline   Reply With Quote
Old 13/07/2017, 12:05 PM   #34
maddinat0r
Gangsta
 
maddinat0r's Avatar
 
Join Date: Jun 2010
Location: Germany
Posts: 881
Reputation: 459
Default Re: Log plugin

v0.4 has been released.
Changelog log-plugin:
- added log-plugin plugin log (lol): this plugin now logs its own errors, warnings and debug messages; you can set the log level through 'native SetLogPluginLogLevel(E_LOGLEVEL:level);' (it's set to error and warning by default)
- general improvements

Changelog log-core:
- catch 'SIGINT' instead of 'SIGTERM' on Linux
- general improvements

Make sure to update the MySQL plugin to R41-3 if you're using it.
The Discord connector plugin won't work after updating the MySQL plugin and/or the log plugin. A bigger update for it will follow somewhere around August/September.

Download as always here.
maddinat0r is offline   Reply With Quote
Old 18/07/2017, 11:37 AM   #35
Bussyman
Big Clucker
 
Join Date: Apr 2017
Posts: 178
Reputation: 0
Default Re: Log plugin

what need to set permision for log-core.so?
Bussyman is offline   Reply With Quote
Old 29/07/2017, 07:32 PM   #36
valerastar
Little Clucker
 
valerastar's Avatar
 
Join Date: Aug 2015
Location: Moldova, Republic of
Posts: 34
Reputation: 0
Default Re: Log plugin

Suggestion: Make sure please, when formatting messages in Log() funcion, we would be able to set the length of integer values. (Sorry for my English expression, better take an example )
Quote:
Log(LoginsLog,INFO,"============[ Starting register for %02d/%02d/%d" ]==",plname,month,day,year);
I tried to use %02d and plugin does not make any error log, but also doesn't create the log file for LoginsLog.
valerastar is offline   Reply With Quote
Old 31/07/2017, 06:30 PM   #37
maddinat0r
Gangsta
 
maddinat0r's Avatar
 
Join Date: Jun 2010
Location: Germany
Posts: 881
Reputation: 459
Default Re: Log plugin

Extended format specifiers are not implemented yet, but I'll make sure to add them some time.
maddinat0r is offline   Reply With Quote
Old 01/08/2017, 12:20 AM   #38
Barnwell
Gangsta
 
Barnwell's Avatar
 
Join Date: May 2014
Location: England
Posts: 543
Reputation: 25
Default Re: Log plugin

Pretty good +REP
Barnwell is offline   Reply With Quote
Old 04/08/2017, 08:30 PM   #39
maximthepain
Huge Clucker
 
maximthepain's Avatar
 
Join Date: Jul 2010
Posts: 334
Reputation: 3
Default Re: Log plugin

I'm hosting a server with this plugin and gettin repeated error:

Code:
[log-core] fatal signal '11' (SIGSEGV) catched   

OGP_HOME_000000612_startup_scr.sh: line 2:  9341 Segmentation fault      taskset -c 0 ./samp03svr

Started server on port: 9999, with maxplayers: 100 lanmode is OFF.
Does anyone have idea how to fix this?
__________________
maximthepain is offline   Reply With Quote
Old 23/10/2017, 01:39 PM   #40
Genjii1337
Little Clucker
 
Join Date: Jun 2017
Posts: 21
Reputation: 0
Default Re: Log plugin

Quote:
Originally Posted by maximthepain View Post
I'm hosting a server with this plugin and gettin repeated error:

Code:
[log-core] fatal signal '11' (SIGSEGV) catched   

OGP_HOME_000000612_startup_scr.sh: line 2:  9341 Segmentation fault      taskset -c 0 ./samp03svr

Started server on port: 9999, with maxplayers: 100 lanmode is OFF.
Does anyone have idea how to fix this?
How you repair? please reply
Genjii1337 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos7 - Streamer plugin and crashdetect plugin Su37Erich Server Support 3 12/08/2016 01:18 AM
[MySQL] From StickenKid's plugin to BlueG's plugin jessejanssen Scripting Help 2 15/06/2014 02:20 AM
Very good plugin suggestion (for scripters) and easy to make for the Plugin Developers! Xentiarox Plugin Development 5 29/07/2012 11:48 PM
mysql plugin. loading plugin failed ikkentim Help Archive 2 10/02/2011 03:32 PM


All times are GMT. The time now is 07:32 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.