Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Logs of LoadBalancing app in Visual Studio

$
0
0
Hi! I'm trying to extend the LoadBalancing app but I first need to understand its execution flow. I've tried to add my own debug messages but I can't see them in the VS console. Here's what I've done: -I've opened the photon-sdk/src-server/LoadBalancing/LoadBalancing.sln project in Visual Studio -I've added some debug messages in HandleJoinLobby() of MasterClientPeer.cs and in Initialize() of MasterApplication.cs -I've set in log4net.config. -I've added the appropriate logger nodes as well for each of the classes mentioned above
  
    
    
  
  
    
    
  
- I've replaced all instances of by -I've been able to run the LoadBalancing project in VS -I've been able to connect to the server launched in VS with a client (in Unity). -I've been able to see logs in the VS console. Most of them begin with:
'PhotonSocketServer.exe' (CLR v4.0.30319: DefaultDomain) : loaded log4net: Logger log4net: Converter log4net: Assembly or The thread 0xxxx has exited with code x (0xxxx)
But I can't see any of my logs. So I'm either missing something in the logging configuration or the code in HandleJoinLobby and Initialize is not being executed when a player connects to the server a creates a room. Is there anything obvious that I'm doing wrong? Thanks a lot!

Viewing all articles
Browse latest Browse all 1557

Trending Articles