[Devel] syslog logging

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Aug 30 20:16:57 CEST 2005


On 08/30/05 19:42, Michael Ulitskiy wrote:

>Also I'd suggest you change the logged name from "/full/path/to/openser" 
>to just basename "openser". It makes logged lines shorter and much easier
>to read.
>Now I worked around it by starting openser with
>PATH=/path/to/opener:$PATH openser
>but I think this is unnecessary complication.
>  
>
maybe a new configuration option can do it. At this moment, openser core 
does not set explicitly any name to be printed in syslog file, the 
syslog daemon takes the name of the process which is very good some 
time, when you run multiple instances of openser. I will check to see 
how could be done.

Daniel

>Michael
>
>On Tuesday 30 August 2005 07:51 am, Daniel-Constantin Mierla wrote:
>  
>
>>ok, I found it, it was due to call of rc_openlog("ser") from acc module 
>>with Radius support. It is now on cvs.
>>
>>Daniel
>>
>>
>>On 08/30/05 14:31, Klaus Darilion wrote:
>>
>>    
>>
>>>It is the accounting module:
>>>
>>>loadmodule "sl.so"
>>>loadmodule "tm.so"
>>>loadmodule "rr.so"
>>>loadmodule "maxfwd.so"
>>>loadmodule "usrloc.so"
>>>loadmodule "registrar.so"
>>>loadmodule "textops.so"
>>>loadmodule "xlog.so"
>>>loadmodule "uri.so"
>>>loadmodule "uri_db.so"
>>>loadmodule "postgres.so"
>>>loadmodule "domain.so"
>>>loadmodule "alias_db.so"
>>>loadmodule "lcr.so"
>>>loadmodule "auth.so"
>>>loadmodule "auth_radius.so"
>>>loadmodule "avpops.so"
>>>loadmodule "acc.so"
>>>loadmodule "enum.so"
>>>loadmodule "mediaproxy.so"
>>>loadmodule "nathelper.so"
>>>loadmodule "options.so"
>>>
>>>klaus
>>>
>>>Daniel-Constantin Mierla wrote:
>>>
>>>      
>>>
>>>>what is the module you load before 'enum' module?
>>>>
>>>>Daniel
>>>>
>>>>
>>>>On 08/30/05 14:05, Klaus Darilion wrote:
>>>>
>>>>        
>>>>
>>>>>very strange: debug=4
>>>>>
>>>>>It changes during startup
>>>>>
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: found 
>>>>><db_raw_query> in module postgres [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: found 
>>>>><db_free_result> in module postgres [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: found 
>>>>><db_insert> in module postgres [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: found 
>>>>><db_delete> in module postgres [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: found 
>>>>><db_update> in module postgres [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp openser[31645]: find_mod_export: 
>>>>><db_replace> in module postgres not found
>>>>>Aug 30 13:02:31 philipp ser[31645]: DEBUG: init_mod: enum
>>>>>Aug 30 13:02:31 philipp ser[31645]: enum module - initializing
>>>>>Aug 30 13:02:31 philipp ser[31645]: DEBUG: init_mod: mediaproxy
>>>>>Aug 30 13:02:31 philipp ser[31645]: find_export: found 
>>>>><is_from_local> in module domain [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp ser[31645]: find_export: found 
>>>>><is_uri_host_local> in module domain [/usr/lib/openser/modules/]
>>>>>Aug 30 13:02:31 philipp ser[31645]: find_export: found 
>>>>><ul_bind_usrloc> in module usrloc [/usr/lib/openser/modules/]
>>>>>
>>>>>
>>>>>Daniel-Constantin Mierla wrote:
>>>>>
>>>>>          
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>that's strange. As far as I know, the syslog takes the name of the 
>>>>>>process. I got:
>>>>>>
>>>>>>Aug 29 12:19:06 s0 /usr/local/openser/sbin/openser[15136]: ---- 
>>>>>>forcing rtpproxy
>>>>>>
>>>>>>Even if you make a symbolic link, there should be the name of 
>>>>>>symlink. What OS do you have?
>>>>>>
>>>>>>Daniel
>>>>>>
>>>>>>
>>>>>>
>>>>>>On 08/30/05 11:50, Klaus Darilion wrote:
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>Hi!
>>>>>>>
>>>>>>>syslog shows "ser" as process, this should be changed to openser.
>>>>>>>
>>>>>>>regards
>>>>>>>klaus
>>>>>>>
>>>>>>>
>>>>>>>Aug 30 10:47:16 philipp ser[29246]: request from local NAT user, 
>>>>>>>force_rport...
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>Devel mailing list
>>>>>>>Devel at openser.org
>>>>>>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>            
>>>>>>
>>>>>          
>>>>>
>>>>        
>>>>
>>>      
>>>
>>_______________________________________________
>>Devel mailing list
>>Devel at openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/devel
>>
>>    
>>
>
>  
>



More information about the Devel mailing list