Urban Terror Forums: Game output is being logged - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Game output is being logged Rate Topic: -----

#1 User is offline   Magister Icon

  • Account: magister
  • Joined: 14-May 10
  • Posts: 110

Posted 07 March 2017 - 11:30 PM

Why do I see Urban Terror game output in /var/log/user.log? Here is a snippet of what is getting collected into /var/log/user.log:


Mar  7 12:52:56 system urt.desktop[1969]: MBAPPE#11.fZ^7 disconnected
Mar  7 12:52:56 system urt.desktop[1969]: #022You hit ^1Dinero'^7^7 in the Groin for 31% damage.
Mar  7 12:52:57 system urt.desktop[1969]: #022You were hit in the Torso by ^1andarionsrb^7^7 for 44% damage.
Mar  7 12:52:57 system urt.desktop[1969]: #021^1andarionsrb^7 [LR300] ^4Element[4]=<3^7^7.
Mar  7 12:52:57 system urt.desktop[1969]: #021^1andarionsrb^7 had 100% health.
Mar  7 12:52:58 system urt.desktop[1969]: #021^4newplayer^7 [LR300] ^1Dinero'^7^7.
Mar  7 12:52:59 system urt.desktop[1969]: ^7server:^3 ^2[PiSi]zEn^7: 17 headshots! ^7(13 percent)
Mar  7 12:52:59 system urt.desktop[1969]: #021^4[PiSi]zEn^7 [LR300] ^1andarionsrb^7^7.
Mar  7 12:53:00 system urt.desktop[1969]: #023^4>^4(DEAD) Element[4]=<3^3: ^3NUBS
Mar  7 12:53:00 system urt.desktop[1969]: ^7server:^3 ^4[PiSi]zEn^7^3 made ^611^3 headshots
Mar  7 12:53:01 system urt.desktop[1969]: #021^1.Tequila^7 [LR300] ^4newplayer^7^7.
Mar  7 12:53:01 system urt.desktop[1969]: {-TD-}YeOleGeezer^7 connected
Mar  7 12:53:01 system urt.desktop[1969]: ^5[auth] ^7{-TD-}YeOleGeezer^7^7 - basic account: ^7^7doc^7
Mar  7 12:53:02 system urt.desktop[1969]: #021^4Flash.ca^7 [M4] ^1PerryHotter^7^7.
Mar  7 12:53:02 system urt.desktop[1969]: ^7server:^3 ^2.Tequila^7: 22 headshots! ^7(22 percent)
Mar  7 12:53:04 system urt.desktop[1969]: #021^1.Tequila^7 [LR300] ^4[PiSi]zEn^7^7.
Mar  7 12:53:05 system urt.desktop[1969]: #023^4>^4CHAiNSAW:..:^7 (northern corner): ^3would be nice penis if it were tdm
Mar  7 12:53:06 system urt.desktop[1969]: #021^1BBQ^7 [LR300] ^4Asterisk*^7^7.
Mar  7 12:53:06 system urt.desktop[1969]: ^7server:^3 ^2Flash.ca^7: 5 headshots!
Mar  7 12:53:07 system urt.desktop[1969]: #021^1Dinero'^7 [LR300] ^4Flash.ca^7^7.
Mar  7 12:53:07 system urt.desktop[1969]: ^7server:^3 ^2Dinero'^7: 2 headshots!
Mar  7 12:53:11 system urt.desktop[1969]: #022You were hit in the Torso by ^1.Tequila^7^7 for 44% damage.
Mar  7 12:53:11 system urt.desktop[1969]: #022You were hit in the Torso by ^1.Tequila^7^7 for 44% damage.
Mar  7 12:53:11 system urt.desktop[1969]: #022You hit ^1.Tequila^7^7 in the Groin for 31% damage.
Mar  7 12:53:11 system urt.desktop[1969]: #021^4Element[4]=<3^7 [M4] ^1.Tequila^7^7.
Mar  7 12:53:12 system urt.desktop[1969]: #023^4>^4CHAiNSAW:..:^7 (northern corner): ^3ctf now...
Mar  7 12:53:12 system urt.desktop[1969]: #022You hit ^1Dinero'^7^7 in the Head for 100% damage.
Mar  7 12:53:12 system urt.desktop[1969]: #021^4Element[4]=<3^7 [M4] ^1Dinero'^7^7.
Mar  7 12:53:12 system urt.desktop[1969]: ^7server:^3 ^2Element[4]=<3^7: 15 headshots! ^7(11 percent)
Mar  7 12:53:13 system urt.desktop[1969]: ^7server:^3 ^4Element[4]=<3^7^3 made ^69^3 headshots
Mar  7 12:53:13 system urt.desktop[1969]: #021^1CaNNon^7 [G36] ^4-h5.Blade^7^7.
Mar  7 12:53:14 system urt.desktop[1969]: ^7server:^3 ^2CaNNon^7: 4 headshots!
Mar  7 12:53:15 system urt.desktop[1969]: ^7server:^3 ^1CaNNon^7^3 made ^62^3 headshots
Mar  7 12:53:16 system urt.desktop[1969]: ^7server:^3 ^2Lucana^7: 4 headshots!
Mar  7 12:53:17 system urt.desktop[1969]: #021^1Lucana^7 [M4] ^4newplayer^7^7.
Mar  7 12:53:17 system urt.desktop[1969]: #021^4-h5.Blade^7 [Bleed] ^1CaNNon^7^7.
Mar  7 12:53:17 system urt.desktop[1969]: #022You hit ^1andarionsrb^7^7 in the Vest for 29% damage.
Mar  7 12:53:18 system urt.desktop[1969]: #022You were hit in the Groin by ^1andarionsrb^7^7 for 31% damage.
Mar  7 12:53:18 system urt.desktop[1969]: #021^1andarionsrb^7 [LR300] ^4Element[4]=<3^7^7.
Mar  7 12:53:18 system urt.desktop[1969]: #021^1andarionsrb^7 had 71% health.
Mar  7 12:53:18 system urt.desktop[1969]: ^7server:^3 ^2[PiSi]zEn^7: 18 headshots! ^7(14 percent)
Mar  7 12:53:18 system urt.desktop[1969]: {-TD-}YeOleGeezer^7 joined the battle
Mar  7 12:53:18 system urt.desktop[1969]: ^4{-TD-}YeOleGeezer^7 entered the game
Mar  7 12:53:19 system urt.desktop[1969]: ]\quit
Mar  7 12:53:19 system urt.desktop[1969]: ----- CL_Shutdown -----
Mar  7 12:53:19 system urt.desktop[1969]: Closing SDL audio device...
Mar  7 12:53:19 system urt.desktop[1969]: SDL audio device shut down.
Mar  7 12:53:19 system urt.desktop[1969]: RE_Shutdown( 1 )
Mar  7 12:53:19 system urt.desktop[1969]: -----------------------



The directory /var/log is owned by root and does not have "write" permission for any user except root. The same is true for the file user.log (it has no "write" permission except for root). So how is the game output getting collected? The way that I execute Urban Terror is with the following command, as user:


~/UrbanTerror43/Quake3-UrT.x86_64 +set fs_homepath "~/UrbanTerror43"



The above command is the execution line that is contained within my launcher icon file, all according to standard:


[Desktop Entry]
Type=Application
Version=1.0
Name=UrT
Comment=Urban Terror
Path=~/UrbanTerror43
Exec=~/UrbanTerror43/Quake3-UrT.x86_64 +set fs_homepath "~/UrbanTerror43"
Icon=~/UrbanTerror43/urt.svg
Terminal=false
Categories=Games;



#2 User is offline   ge0rdie Icon

  • Account: ge0rdie
  • Country:
  • Joined: 28-December 10
  • Posts: 32

Posted 13 June 2017 - 11:23 PM

Would you please post result for

"ls -la /var"

I get:

drwxrwxr-x 18 root syslog 4096 Jun 14 07:15 log

This means user root and anyone in group syslog can create files in it.

You can then check /etc/groups and see if you are in the syslog group

Also see if you get permission denied when doing: "echo hello > /var/log/foo"

All that aside, I run the binary with no params at all, you could try running it from the command line with no params and see what happens.

The default log file name is games.log, so your config must be changing it. Have a look through your .cfg files and look for: set g_log "user.log", there my be a setting to turn it off.

Hope this helps

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942