Analog_Bridge log location


Michael KD5DFB
 

I am running 2 instance of Analog_Bridge. They are in different directories. I would like to have the log files for both. Looking at the .ini file, I do not see where we can define the location or name.  Just the log level. 

[GENERAL]
logLevel = 2

I found this in the unit file

Environment=AnalogBridgeLogDir=/var/log/dvswitch
# Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Which one would I use and how would I define it? 


Steve N4IRS
 

That is it. Point it to where you want the log file.

On 1/7/19 7:53 PM, KD5DFB wrote:
I am running 2 instance of Analog_Bridge. They are in different directories. I would like to have the log files for both. Looking at the .ini file, I do not see where we can define the location or name.  Just the log level. 

[GENERAL]
logLevel = 2

I found this in the unit file

Environment=AnalogBridgeLogDir=/var/log/dvswitch
# Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Which one would I use and how would I define it? 


Michael KD5DFB
 

Thank you Steve!

Can I can the log filename? 

On Mon, Jan 7, 2019 at 7:29 PM Steve N4IRS <szingman@...> wrote:
That is it. Point it to where you want the log file.

On 1/7/19 7:53 PM, KD5DFB wrote:
I am running 2 instance of Analog_Bridge. They are in different directories. I would like to have the log files for both. Looking at the .ini file, I do not see where we can define the location or name.  Just the log level. 

[GENERAL]
logLevel = 2

I found this in the unit file

Environment=AnalogBridgeLogDir=/var/log/dvswitch
# Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Which one would I use and how would I define it? 


Steve N4IRS
 

No, just the path.

On 1/8/19 10:08 PM, KD5DFB wrote:
Thank you Steve!

Can I can the log filename? 

On Mon, Jan 7, 2019 at 7:29 PM Steve N4IRS <szingman@...> wrote:
That is it. Point it to where you want the log file.

On 1/7/19 7:53 PM, KD5DFB wrote:
I am running 2 instance of Analog_Bridge. They are in different directories. I would like to have the log files for both. Looking at the .ini file, I do not see where we can define the location or name.  Just the log level. 

[GENERAL]
logLevel = 2

I found this in the unit file

Environment=AnalogBridgeLogDir=/var/log/dvswitch
# Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Which one would I use and how would I define it? 



liujiaii@...
 

Hi Steve,

In  version 1.6.4 Analog_Bridge's ini file, I cant find "unit" section in there,

But I need two analogBR for P25 to DMR transcode,

How can I define the location of log files?

Thx in advance.

vy 73, de BH1NYR


Steve N4IRS
 

/lib/systemd/system/analog_bridge.service

On 7/1/22 03:13, liujiaii@... wrote:
Hi Steve,

In  version 1.6.4 Analog_Bridge's ini file, I cant find "unit" section in there,

But I need two analogBR for P25 to DMR transcode,

How can I define the location of log files?

Thx in advance.

vy 73, de BH1NYR