Uniface User Forum

 View Only
  • 1.  Userver log files

    Posted 05-13-2024 06:17

    Hi Unifacers,

    we can't figure why in SOME installation we have hundreds and hundreds of userver.log files in customer servers, created every day

    already tryed to add or remove putmesslogfile, add or remove ioprint, add ioprint=0.. if we specify a different putmesslogfile name in ASN we can see them correctly renamed but thet're still there.. if we don't specify a filename then we get those hundreds of userver (+ PID) .log

    anyone else/idea?

    thank you

    Simone



    ------------------------------
    Simone Pecchenino
    Labinf Sistemi Srl
    IT
    ------------------------------


  • 2.  RE: Userver log files

    PARTNER
    Posted 05-13-2024 06:43

    I suspect it has to do with whether or not they get an error/warning running the app. What is in the contents of the server log files? 

    Iain



    ------------------------------
    Iain Sharp
    Head of Technical Services
    Pci Systems Ltd
    Sheffield GB
    ------------------------------



  • 3.  RE: Userver log files

    Posted 05-13-2024 06:53

    Hi Ian,

    yes they are driver warnings and some "message" instruction that we put in the form

    because we run some service via client/server, and in this way via urouter

    this is and example of logfile

    [startup] ======================================================================
    [startup] Date/time : 2024-05-13 12:40:55.22
    [startup] Uniface   : [MSW] 9.6.04.02, X401C (Mar  5 2014), $ioprint=0
    [startup] Command   : F:\LABINF\U9601\COMMON\bin\userver.exe -srvid=11641 -dnp=TCP:+13001||privacy_mac_address| -drv=ANY -ust=lisrv -dir=C:\Gest -asn=\\privacy_servername\LIGEST96\ASN\LISRV.ASN, pid=62628
    [startup] Directory : C:\Gest\
    [startup] OS        : Windows 2012 Server  (Build 9200)
    [startup] Processor : Intel64 Family 6 Model 85 Stepping 7, Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz, 200703 Mb
    [startup] Hostname  : privacy_servername
    [startup] User      : userver
    [startup] ======================================================================
    Attenzione , le valute non corrispondono
    I/O function: S, mode: 0, on file/table: UBICAZ2 index: 2 =
    HY104 [Microsoft][ODBC SQL Server Driver]Valore di precisione non valido.

    first message is our own (message, not putmesss)

    second message is a driver warning for a bad retrieve on an entity named UBICAZ2

    as far as you know, is there a way to ignore this and do not create those files?



    ------------------------------
    Simone Pecchenino
    Labinf Sistemi Srl
    IT
    ------------------------------



  • 4.  RE: Userver log files
    Best Answer

    PARTNER
    Posted 05-13-2024 07:33
    Yes, you set the $putmess_logifile (and $transcript_logfile) to NONE (or possibly “NONE”)



    $putmess_logfile=NONE



    Regards,

    Iain








    Iain Sharp | Head of Technical Services
    Jonas Metals Software
    iains@jonasmetals.com
    tel +44 (0) 114 201 2200
    <http: www.jonasmetals.com=""> www.jonasmetals.com <https: outlook.office.com/bookwithme/user/997d39a6e5de467e8d015be1a0380183@pcisystems.co.uk?anonymous&ep="pcard"> Book Time With Me




  • 5.  RE: Userver log files

    PARTNER
    Posted 05-13-2024 07:35

    https://www3.rocketsoftware.com/rocketd3/support/documentation/Uniface/10/uniface/configuration/reference/assignments/PUTMESS_LOGFILE.htm

    Shows the option as =NONE. 

    Regards, 

    Iain



    ------------------------------
    Iain Sharp
    Head of Technical Services
    Pci Systems Ltd
    Sheffield GB
    ------------------------------



  • 6.  RE: Userver log files

    Posted 05-14-2024 05:25

    seem to work! thank you

    jumped into the chm to learn more



    ------------------------------
    Simone Pecchenino
    Labinf Sistemi Srl
    IT
    ------------------------------