ULX

Author Topic: Where did the logs go?  (Read 19299 times)

0 Members and 1 Guest are viewing this topic.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Where did the logs go?
« 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?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Where did the logs go?
« Reply #1 on: March 27, 2010, 09:16:24 PM »
It's working find on my end. Are there any errors on startup?
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Where did the logs go?
« Reply #2 on: March 27, 2010, 09:27:38 PM »
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
Code: [Select]
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)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Where did the logs go?
« Reply #3 on: March 28, 2010, 12:33:41 PM »
I don't have a gmod/cfg/server.ini only a server.cfg. Should I copy it over?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Where did the logs go?
« Reply #4 on: March 28, 2010, 03:22:36 PM »
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)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Where did the logs go?
« Reply #5 on: March 28, 2010, 08:05:20 PM »
I edited and copied it and saved it but it's still not saving logs!
Also I use Notepad++

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Where did the logs go?
« Reply #6 on: March 28, 2010, 08:28:35 PM »
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)
Code: [Select]
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
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Where did the logs go?
« Reply #7 on: April 25, 2010, 07:19:45 PM »
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
Code: [Select]
///////////////////////////////
//      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)
Code: [Select]
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.
« Last Edit: April 25, 2010, 07:21:46 PM by DiscoBiscuit »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Where did the logs go?
« Reply #8 on: April 25, 2010, 07:59:44 PM »
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)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Where did the logs go?
« Reply #9 on: April 26, 2010, 01:53:22 PM »
Yeah, I'll try reinstalling some stuff and maybe taking out a few unnecessary addons.
Thanks for the help though.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Where did the logs go?
« Reply #10 on: April 26, 2010, 03:38:24 PM »
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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Prizim

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: Where did the logs go?
« Reply #11 on: June 19, 2010, 06:31:20 PM »
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.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Where did the logs go?
« Reply #12 on: June 19, 2010, 08:38:23 PM »
Prizim: I just tried installing those three addons, logging is still working fine for me :-\
What other addons do you have installed?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Prizim

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: Where did the logs go?
« Reply #13 on: June 19, 2010, 10:20:05 PM »
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?