Raised This Month: $51 Target: $400
 12% 

Where to view META_LOG


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
za_bullet
Junior Member
Join Date: Nov 2005
Old 05-01-2006 , 06:37   Where to view META_LOG
Reply With Quote #1

When using META_LOG, where does this log to? How do I view this logging?

za.
za_bullet is offline
Send a message via AIM to za_bullet
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 05-01-2006 , 07:45  
Reply With Quote #2

META_LOG is a macro for CSmmAPI::LogMessage which is basically a wrapper for IVEngineServer::LogPrint, so it prints messages directly into the standard log files of the particular mod. So in Counter-Strike: Source, for example, you should find the log files in the cstrike/logs directory. If you don't have logging enabled on the server, then META_LOG will print nothing into any file.
__________________
エル・プサイ・コングルゥ
DS is offline
za_bullet
Junior Member
Join Date: Nov 2005
Old 05-01-2006 , 08:34  
Reply With Quote #3

How do I enable logging on the server?

D.
za_bullet is offline
Send a message via AIM to za_bullet
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 05-01-2006 , 08:41  
Reply With Quote #4

You can enable logging with:
log on

Add it to server.cfg and restart the server or just type it in the server console.
__________________
エル・プサイ・コングルゥ
DS is offline
za_bullet
Junior Member
Join Date: Nov 2005
Old 05-01-2006 , 08:43  
Reply With Quote #5

Thanks
za_bullet is offline
Send a message via AIM to za_bullet
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 03:37.


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