I host multiple Insurgency servers using one installation. This works fine but there is a problem when it comes to logging anything of sourcemod plugins. The logs are mixed into one file and you can't determine which server the given log line belongs to. I took SaveChat plugin as an example. I just want the log file name to contain server port number, this way a separate file should be created for each server, solving the problem. I'm just completely new to sourcemod scripting. I tried this:
https://www.diffchecker.com/zy0wDj2d
It compiles with no error but the file name is chat251218-‡i.log but I want it to be chat251218-27015.log as 27015 is that server's port number.
What am I doing wrong?