dbTalk Databases Forums  

Possible to get user individual W4GL.LOGs in terminal serverenvironment?

comp.databases.ingres comp.databases.ingres


Discuss Possible to get user individual W4GL.LOGs in terminal serverenvironment? in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gerhard Hofmann
 
Posts: n/a

Default Possible to get user individual W4GL.LOGs in terminal serverenvironment? - 09-28-2009 , 01:05 PM






Hi all,

two questions concerning OR 4.0 apps in terminal server environments:
w4glrun.exe flag -Tyes will create a %II_SYSTEM%\ingres\files\w4gl.log
file.

Is it possible to
a) have the w4gl.log saved to %username% (trace file for each user)?
b) append new messages to existing w4gl.log instead of overwriting?

TIA
Gerhard

Reply With Quote
  #2  
Old   
Ingres Forums
 
Posts: n/a

Default Re: Possible to get user individual W4GL.LOGs in terminal serverenvironment? - 09-28-2009 , 02:04 PM






Hi Gerhard,

You can use "-L<log_file_name>" in the following way :
w4gldev runimage workbnch.img -L<log_filename>

For instance, with <log_filename> = /tmp/w4gl.log, the command will be

w4gldev runimage workbnch.img -L/tmp/w4gl.log

You can specify different files/ paths for different users.

To append to the existin log, you can use flag -A(ppend to log)
It causes the trace output of the current command to be appended to the
bottom of the existing error log file.

I will let anyone else comment or add to what I said above.

Regards,
Divya


--
Divya

Reply With Quote
  #3  
Old   
hans.weisenberger@mmm.com
 
Posts: n/a

Default Re: [Info-Ingres] Possible to get user individual W4GL.LOGs interminal server environment? - 10-05-2009 , 02:49 AM



Hallo Herr Hoffmann,

das mit dem Anhängen wurde ja schon beantwortet (-A). Auch die Möglichkeit
mit dem Flag beim Aufruf für das extra Logfile für jeden User.

Hier wurde das Problem mit der Umgebungsvariable gelöst: set
II_LOG=%mountpoint%\start_up\w2k\computer_name\%co mputername%
welches das Logfile dann in dieses Directory schreibt (je User ein
Directory)

Grüße
Hans Weisenberger



From:

3M Deutschland GmbH
Sitz: 41453 Neuss; Handelsregister: B 1878 Amtsgericht Neuss
Geschäftsführer: Günter Gressler; Jürgen Jaworski; Josef Mrozek; Theo
Nöcker
Managing Director: Günter Gressler; Vorsitzender des Aufsichtsrates:
Reinhold Hiersemann
Gerhard Hofmann <ghof050472 (AT) googlemail (DOT) com>
To:
info-ingres (AT) kettleriverconsulting (DOT) com
Date:
28.09.2009 20:14
Subject:
[Info-Ingres] Possible to get user individual W4GL.LOGs in terminal server
environment?
Sent by:
<info-ingres-bounces (AT) kettleriverconsulting (DOT) com>



Hi all,

two questions concerning OR 4.0 apps in terminal server environments:
w4glrun.exe flag -Tyes will create a %II_SYSTEM%\ingres\files\w4gl.log
file.

Is it possible to
a) have the w4gl.log saved to %username% (trace file for each user)?
b) append new messages to existing w4gl.log instead of overwriting?

TIA
Gerhard
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.