AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   Log Messages! (https://forums.alliedmods.net/showthread.php?t=303213)

Alexxxxxxxxx 11-27-2017 06:04

Log Messages!
 
why my server does not log amx messages

in my server.cfg
log on
mp_logdetail 0
mp_logmessages 1

fysiks 11-27-2017 09:26

Re: Log Messages!
 
None of those have anything to do with AMX Mod X log messages. AMX Mod X logs are found in "<mod>\addons\amxmodx\logs".

Alexxxxxxxxx 11-27-2017 11:09

Re: Log Messages!
 
yes but why it does not log the messages

i have for example in my code

PHP Code:

log_to_file("Kick_Cmd.log""[ADMIN] %s: kick %s"g_playername[id], g_playername[player]) 


Alexxxxxxxxx 11-27-2017 15:42

Re: Log Messages!
 
How can i enable it?

fysiks 11-27-2017 22:41

Re: Log Messages!
 
Well, that's entirely different because those aren't AMX log messages. That would be custom log messages.

That command should create the file you specify. I'm not entirely sure which directory but I would guess it's either in the same directory as AMX log messages or in the root directory of your game (e.g. /cstrike/ or /dod/).

aron9forever 11-30-2017 06:45

Re: Log Messages!
 
Quote:

Originally Posted by fysiks (Post 2563230)
Well, that's entirely different because those aren't AMX log messages. That would be custom log messages.

That command should create the file you specify. I'm not entirely sure which directory but I would guess it's either in the same directory as AMX log messages or in the root directory of your game (e.g. /cstrike/ or /dod/).

its in amxmodx/logs


@OP
if that doesn't work then check whether you have the necessary permissions to create files in the amxmodx/logs folder, this is not really "logging" as it is basically a stock that writes to a file and formats it nicely (adding some stuff like time and date to each new entry)

im saying that to clarify it has nothing to do with log cvars, those are for the standard log messages in amxmodx

Alexxxxxxxxx 12-05-2017 06:31

Re: Log Messages!
 
Yeah solved it was about the permissions


All times are GMT -4. The time now is 11:55.

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