Main Page | Report this Page
Computers Forum Index  »  Computer - Databases - Ingres  »  Possible to get user individual W4GL.LOGs in terminal...
Page 1 of 1    

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

Author Message
Gerhard Hofmann...
Posted: Mon Sep 28, 2009 6:05 pm
Guest
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
 
Ingres Forums...
Posted: Mon Sep 28, 2009 11:04 pm
Guest
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
------------------------------------------------------------------------
Divya's Profile: http://community.ingres.com/forum/member.php?userid=1442
View this thread: http://community.ingres.com/forum/showthread.php?t=11185
 
...
Posted: Mon Oct 05, 2009 11:49 am
Guest
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\%computername%
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 (no spam) googlemail.com>
To:
info-ingres at (no spam) kettleriverconsulting.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 (no spam) kettleriverconsulting.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 (no spam) kettleriverconsulting.com
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres
 
 
Page 1 of 1    
All times are GMT
The time now is Mon Nov 23, 2009 8:58 am