Get the serverid from the folder object, where it will always be.
Logging.