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

Console output log


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xxlap1xx
Member
Join Date: Oct 2011
Old 10-28-2011 , 21:50   Console output log
Reply With Quote #1

Hello all.. i'm really new to this game.. and i'm wondering if theres anything that i can put into my server.cfg file so i can have the full console logged into a text file?

i'm hosting one css server, and really don't know much about it.. if anyone can shed some light on me that will be awesome...

any help will be very appreciated.. thanks!
xxlap1xx is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-28-2011 , 22:18   Re: Console output log
Reply With Quote #2

This isn't a scripting question, but the command to turn on logging is:

log on

You can then go into the "logs" folder underneath cstrike.

For future reference, all general server questions should go on the "SRCDS Discussion" board near the top of the forumlist. You'll get better responses there.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 10-28-2011 , 22:23   Re: Console output log
Reply With Quote #3

Hey there.
You posted in the wrong forum sir, don't think this has something to do with sourcemodscripting.

Anyways, you said that you're hosting one css server, so i guess you have full access to the mashine that runs the server, is that correct?
If yes then you need to tell us more informations about your mashine and how you start your server.
Especially the OS is important to know.

I would write much more, but if you do not try to give information why should i.

Edit: Like Bloodlvst said, you can use log on in your server or autoexec.cfg
Though you don't get as much Informations as if you had an screenlog or something.(I won't blame you if you dont know what this is)

Yours sincerely
Impact
__________________

Last edited by Impact123; 10-28-2011 at 22:27.
Impact123 is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-28-2011 , 22:25   Re: Console output log
Reply With Quote #4

Quote:
Originally Posted by Impact123 View Post
Hey there.
You posted in the wrong forum sir, don't think this has something to do with sourcemodscripting.

Anyways, you said that you're hosting one css server, so i guess you have full access to the mashine that runs the server, is that correct?
If yes then you need to tell us more informations about your mashine and how you start your server.
Especially the OS is important to know.

I would write much more, but if you do not try to give information why should i.

Yours sincerely
Impact
You're asking him to jump through way too many hoops just for help with turning on server logging...
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 10-28-2011 , 22:34   Re: Console output log
Reply With Quote #5

Quote:
Originally Posted by Bloodlvst View Post
You're asking him to jump through way too many hoops just for help with turning on server logging...
Well, he asked for an full console output, where you can find much more comprehensive informations than in the "normal" srcds-logfiles with just log on.

Yours sincerely
Impact
__________________
Impact123 is offline
xxlap1xx
Member
Join Date: Oct 2011
Old 10-28-2011 , 22:45   Re: Console output log
Reply With Quote #6

Quote:
Originally Posted by Bloodlvst View Post
This isn't a scripting question, but the command to turn on logging is:

log on

You can then go into the "logs" folder underneath cstrike.

For future reference, all general server questions should go on the "SRCDS Discussion" board near the top of the forumlist. You'll get better responses there.
I see.. sry about that.. will follow!
xxlap1xx is offline
xxlap1xx
Member
Join Date: Oct 2011
Old 10-28-2011 , 22:58   Re: Console output log
Reply With Quote #7

Quote:
Originally Posted by Impact123 View Post
Hey there.
You posted in the wrong forum sir, don't think this has something to do with sourcemodscripting.

Anyways, you said that you're hosting one css server, so i guess you have full access to the mashine that runs the server, is that correct?
If yes then you need to tell us more informations about your mashine and how you start your server.
Especially the OS is important to know.

I would write much more, but if you do not try to give information why should i.

Edit: Like Bloodlvst said, you can use log on in your server or autoexec.cfg
Though you don't get as much Informations as if you had an screenlog or something.(I won't blame you if you dont know what this is)

Yours sincerely
Impact
Thanks.. yea i have full access to the machine and here are the specs..

GIGABYTE G31M-ES2L BOARD
INTEL E3400 @3.3GHZ CPU
1GB DDR2 RAM
INTEGRATED GRAPHICS
WIN7 64BIT

it's not a fast machine as you can see, hopefully it can handle it

and here is my command line to start off the server

D:\Source_Servers\CS_Source_1\css\srcds.exe -console -game cstrike -maxplayers 46 -port 27015 +map de_dust2 -tickrate 66

it's currently running on sourcemod, anticheats (not sure if i installed it correctly), and zblock to prevent some hackers..

the reason that i wanted to log the whole console is because someone's trying to hack my rcon password last night.. but LUCKILY i had it disabled at the time.. the hacker was banned after a few tries (but i don't know where is the ban record, i couldn't find it).. the console did not show his steamID, all it showed was his ip address, which i forgot it.. so i think logging the whole console is very important..

also, what else do you recommend me to install on the server to keep it more secure?? if i were really hacked, can those hackers enter my pc and pull my private files or install spywares? i'm kind of freaked out this morning after looking at my console.. it's my first night hosting, and i got hacked already.. kinda sucks..
xxlap1xx is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-28-2011 , 23:14   Re: Console output log
Reply With Quote #8

Quote:
Originally Posted by Impact123 View Post
Well, he asked for an full console output, where you can find much more comprehensive informations than in the "normal" srcds-logfiles with just log on.

Yours sincerely
Impact
Things like the OS and hardware hardly affect the server logs.

xxlap1xx, the following are extra parameters for your server logs.

sv_logbans - Log server bans in the server logs
sv_logecho - Echo log information to the console
sv_logfile - Log server information in the log file
sv_log_onefile - Log server information to only one file
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
xxlap1xx
Member
Join Date: Oct 2011
Old 10-28-2011 , 23:33   Re: Console output log
Reply With Quote #9

Quote:
Originally Posted by Bloodlvst View Post
Things like the OS and hardware hardly affect the server logs.

xxlap1xx, the following are extra parameters for your server logs.

sv_logbans - Log server bans in the server logs
sv_logecho - Echo log information to the console
sv_logfile - Log server information in the log file
sv_log_onefile - Log server information to only one file
thanks.. but i already have those in my server.cfg.. this is what i have, not sure if it's correct tho..

log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
xxlap1xx is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 10-28-2011 , 23:40   Re: Console output log
Reply With Quote #10

Okay, thanks for the information.
If you want a full consolelog you can use the Commandline as following:
Code:
D:\Source_Servers\CS_Source_1\css\srcds.exe -console -game cstrike -maxplayers 46  +map de_dust2 -condebug
-tickrate 66 -> was removed
-port 27015 -> standartport
-condebug -> this is what you need

Starting the server like that will create an 'console.log' in your gamemod-folder.
You can get more informations about parameters like this here.
Hope it helps.

PS: The reason i don't answer your other questions is to keep the forum "clean",
if somebody has the same question like you, he will find trash here which has nothing to do with the problem in the description.

Edit: i found a cvar for it
Code:
con_logfile "consoleoutput.log"
This will write in you gamemod directory
Here are some more cvars who has somethng to do with log.


Yours sincerely
Impact
__________________

Last edited by Impact123; 10-28-2011 at 23:45.
Impact123 is offline
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 15:14.


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