Steam ID and log file

So basicly, we got an admin mod that can id ban (like most mods :v:)
And i know you can get the ID by typing status in console etc, but is there any way that
When a player joins his steam ID is logged in console? (console needs to be vissible for admins only then)

And, how do i create a file wich contains a full log of the server console (not the in-game console!)

function LogPlayerSteamID(ply,stmid)
print("Player " … ply:Name() … " joined with ID: " … stmid)
That will print the player’s steamid and name when they join your server.

There’s no easy way to log all of the server console in Lua, but you can add this
log on
to your server.cfg file located in garrysmod/garrysmod/cfg/. That will log the server’s console to garrysmod/garrysmod/logs/.