Raised This Month: $ Target: $400
 0% 

Hook Logfile name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arqawa
Junior Member
Join Date: Jun 2012
Old 12-25-2012 , 01:54   Hook Logfile name
Reply With Quote #1

Hi dudes!
I hope on you expirience.

I need to get logfile name at start logging, i try hooks logevent, but do nothing.

Code of hook logevent
Code:
register_logevent("hook", 6, "1=Log");
Line of loging starts writing logs
Code:
L 12/25/2012 - 12:45:55: Log file started (file "addons\L1225003.log") (game "cstrike") (version "48/1.1.2.6/5758")
I dont have any ideas how hook or get him
arqawa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-25-2012 , 02:15   Re: Hook Logfile name
Reply With Quote #2

Explain what you are actually trying to do. There is probably a better way.
__________________
fysiks is offline
arqawa
Junior Member
Join Date: Jun 2012
Old 12-25-2012 , 02:39   Re: Hook Logfile name
Reply With Quote #3

I need to know the name of the log file, which would be at the end of mapy parse the log and transfer to the site. I can not just take the last name of the log file, because of the directory server will start from 20 to 80 servers and all logs are written asynchronously to one directory. I can not write in different directories, as servers are located on the hosting and security policy does not allow the host to create additional directories. I sit here and distorted.
arqawa is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 13:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode