Skip to content

Commit

Permalink
config wasn't properly loading local
Browse files Browse the repository at this point in the history
  • Loading branch information
thoraxe committed Jan 13, 2023
1 parent e79d9c2 commit 81230b9
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 502 deletions.
4 changes: 2 additions & 2 deletions Networking/ServerConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ async void InitializeAMQP()
{
String linkid;

_serilogger.Debug("ServerConnection.cs: Initializing AMQP connection");
_serilogger.Information("ServerConnection.cs: Initializing AMQP connection");
Connection.DisableServerCertValidation = disableCertValidation;
try
{
//Trace.TraceLevel = TraceLevel.Frame;
//Trace.TraceListener = (l, f, a) => Console.WriteLine(DateTime.Now.ToString("[hh:mm:ss.fff]") + " " + string.Format(f, a));
factory = new ConnectionFactory();
_serilogger.Debug("ServerConnection.cs: connecting to " + url);
_serilogger.Information("ServerConnection.cs: connecting to " + url);
Address address = new Address(url);

// TODO: does this need to be async? it causes some issues
Expand Down
2 changes: 1 addition & 1 deletion Resources/client.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ server_string="amqp://localhost:5672"
disable_cert_validation=true

[game]
log_level=4 ; 0=fatal, 1=err, 2=warn, 3=inf, 4=dbg, 5=verbose
log_level=3 ; 0=fatal, 1=err, 2=warn, 3=inf, 4=dbg, 5=verbose
Loading

0 comments on commit 81230b9

Please sign in to comment.