@@ -11,17 +11,17 @@ namespace SeqCli.Forwarder.Channel;
1111
1212internal abstract class ForwardingChannelWrapper ( string bufferPath , SeqConnection connection , SeqCliConfig config )
1313{
14- protected const string SeqCliConnectionChannelName = "SeqCliConnection" ;
14+ protected const string SeqCliConnectionChannelId = "SeqCliConnection" ;
1515 protected readonly string BufferPath = bufferPath ;
1616 protected readonly SeqCliConfig Config = config ;
1717 protected readonly CancellationTokenSource ShutdownTokenSource = new ( ) ;
1818 protected readonly Lock ChannelsSync = new ( ) ;
1919
20- // <param name="name ">The name used for the channel storage on the file system and in memory .</param>
20+ // <param name="id ">The id used for the channel storage on the file system.</param>
2121 // <param name="apiKey">The apiKey that will be used to connect to the downstream Seq instance.</param>
22- protected ForwardingChannel OpenOrCreateChannel ( string name , string ? apiKey )
22+ protected ForwardingChannel OpenOrCreateChannel ( string id , string ? apiKey )
2323 {
24- var storePath = GetStorePath ( name ) ;
24+ var storePath = GetStorePath ( id ) ;
2525 var store = new SystemStoreDirectory ( storePath ) ;
2626
2727 Log . ForContext < ForwardingChannelWrapper > ( ) . Information ( "Opening local buffer in {StorePath}" , storePath ) ;
@@ -42,8 +42,8 @@ protected ForwardingChannel OpenOrCreateChannel(string name, string? apiKey)
4242
4343 public abstract Task StopAsync ( ) ;
4444
45- protected string GetStorePath ( string name )
45+ protected string GetStorePath ( string id )
4646 {
47- return Path . Combine ( BufferPath , name ) ;
47+ return Path . Combine ( BufferPath , id ) ;
4848 }
4949}
0 commit comments