Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: DiscoBiscuit on March 27, 2010, 08:45:29 PM
-
After I updated ULX I noticed it stopped logging files. I have ulx_logecho set and ulx_logfile set appropriately, yet when I checked ulx_logs I didn't see any recent files. I also looked in other locations and couldn't find anything. Did you guys take it out or is it broken or something?
-
It's working find on my end. Are there any errors on startup?
-
I just tested a ded server..fine on my end also.
Make sure you're editing gmod/cfg/server.ini and not gmod/addons/ulx/cfg/server.ini
If you have an old 'release' copy of the server.ini in your gmod/cfg folder, may wish to copy the new to it then edit.
Many things have changed in it (for instance, adverts and gimps have moed to gmod/data/ulx) and may be causing issues for your log settings.
From the new server.ini
ulx logFile 1 // Log to file (Can still echo if off). This is a global setting, nothing will be logged to file with this off.
ulx logEvents 1 // Log events (player connect, disconnect, death)
ulx logChat 1 // Log player chat
ulx logSpawns 1 // Log when players spawn objects (props, effects, etc)
ulx logSpawnsEcho 1 // Echo spawns to players in server. 0 = off, 1 = Admins only, 2 = All players. (Echoes to console)
-
I don't have a gmod/cfg/server.ini only a server.cfg. Should I copy it over?
-
For best results, yes.
That way any changes you make don't get overwritten next time you update ULX.
Once you've put it there, edit the settings in it, save it.
Make sure you're using a text editor (not MSWord, etc)
-
I edited and copied it and saved it but it's still not saving logs!
Also I use Notepad++
-
Very odd.
What revision of SVN ulx (and ULib) are you using?
Any errors in server console when a player spawns or joins.
Any errors at ULX start up in server console?
Also, does the user running Gmod server have write access to gmod/data/ulx_logs ?
From your server console, if you type find ulx_log, you should get the following (close to it anyway if you've changed any).
Pay extra attention to ulx_logDir and ulx_logFile .. it's global for all the sub (spawn/chat/join)
find ulx_log
"ulx_logDir" = "ulx_logs"
replicated clientcmd_can_execute
"ulx_logSpawnsEcho" = "1"
replicated clientcmd_can_execute
"ulx_logSpawns" = "1"
replicated clientcmd_can_execute
"ulx_logChat" = "1"
replicated clientcmd_can_execute
"ulx_logEvents" = "1"
replicated clientcmd_can_execute
"ulx_logFile" = "1"
replicated clientcmd_can_execute
"ulx_logEcho" = "2"
replicated clientcmd_can_execute
-
What revision of SVN ulx (and ULib) are you using?
I am using the latest revision, I just updated and it's still not working right.
Any errors in server console when a player spawns or joins.
Nothing out of the ordinary.
Any errors at ULX start up in server console?
Nope
///////////////////////////////
// Ulysses Library //
///////////////////////////////
// Loading... //
// shared/defines.lua //
// shared/misc.lua //
// shared/util.lua //
// server/upgrade.lua //
// shared/hook.lua //
// server/gamemode_hooks.lua//
// shared/table.lua //
// shared/player.lua //
// server/player.lua //
// shared/messages.lua //
// shared/commands.lua //
// server/concommand.lua //
// server/util.lua //
// shared/sh_ucl.lua //
// server/ucl.lua //
// server/phys.lua //
// server/player_ext.lua //
// server/entity_ext.lua //
// Load Complete! //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
// ULX Admin Mod //
///////////////////////////////
// Loading... //
// sh_defines.lua //
// lib.lua //
// base.lua //
// sh_base.lua //
// log.lua //
// MODULE: playertitle.lua //
// MODULE: slots.lua //
// MODULE: votemap.lua //
// MODULE: chat.lua //
// MODULE: fun.lua //
// MODULE: menus.lua //
// MODULE: rcon.lua //
// MODULE: teleport.lua //
// MODULE: user.lua //
// MODULE: userhelp.lua //
// MODULE: util.lua //
// MODULE: vote.lua //
// MODULE: OS_Immunity.lua //
// end.lua //
// Load Complete! //
///////////////////////////////
[ULIB] Loading SHARED module: UnoLimited.lua
[ULIB]*** UnoLimited v2.1 Ready! *******
Also, does the user running Gmod server have write access to gmod/data/ulx_logs ?
Yes
From your server console, if you type find ulx_log, you should get the following (close to it anyway if you've changed any).
Pay extra attention to ulx_logDir and ulx_logFile .. it's global for all the sub (spawn/chat/join)
find ulx_log
"ulx_logDir" = "ulx_logs"
replicated clientcmd_can_execute
"ulx_logSpawnsEcho" = "1"
replicated clientcmd_can_execute
"ulx_logSpawns" = "1"
replicated clientcmd_can_execute
"ulx_logChat" = "1"
replicated clientcmd_can_execute
"ulx_logEvents" = "1"
replicated clientcmd_can_execute
"ulx_logFile" = "1"
replicated clientcmd_can_execute
"ulx_logEcho" = "2"
replicated clientcmd_can_execute
Mine is exactly like that.
-
Not sure what to tell you Disco...it's working on my dev dedicated, and a test listen server ...perhaps another mod is somehow conflicting.
Even with that being said, a map change I think would still create the file and say 'map changed' every time that happens, even if no other things get logged.
Other than permission issues, I can think of no other reason logs wouldn't get created than some type of conflict.
Might try deleting addons/ULX and addons/ULib, /data/ulx_logs, then Re-svn get ULib and ULX and place them in.
You are hosting a dedicated server, correct? And you're looking on the dedicated server data/ulx_logs directory...not local client?
(I expect you aren't, but, hey, have to ask...we're only human)
-
Yeah, I'll try reinstalling some stuff and maybe taking out a few unnecessary addons.
Thanks for the help though.
-
If you figure it out, let us know.
Even if it's something that only affected you, I'm curious to know what it was/is.
If it's definitely another mod, that willl help everyone.
-
I'm having the same problem. For me, the logs stopped happening when I installed xgui. Only ulx mods I have are !resize, !explode, and !rocket.
-
Prizim: I just tried installing those three addons, logging is still working fine for me :-\
What other addons do you have installed?
-
HL2 Weapon/Item (Admin version)
Adv. Duplicator
Anti-Noclip
Buoyancy Tool
Buoyancy Tool – Wire
Conna's Tools Pack
Counter-strike
CSS Realistic Weapons 4.0
Door Stool
DurgzMod
Easy Precision
Fin Stool
God's Little Finger V2
Headcrab Canisters Tool
Keypad
Keypad Cracker
Model Manipulator
Money Detector
No Collide Multi
PHXSVN
Nokia's Pill Pack
Realistic Fall Damage
Renamon Player Model
Resizer Tool
Smart Constraint
Smartsnap
Smart Weld
Stacker Stool
Super Parent Multi
Weight Stool
Wire
Those are the server's current addons.
If it helps, back when Garry's latest screw-up-date came out, I edited the datastream.lua per THIS post: http://www.facepunch.com/showpost.php?p=22189347&postcount=1108
DarkRP was wigging out due to Garry's change, so I had to use that edit in order to fix it. Does that have any relation to this problem?