Go Back   NexusDB Newsgroups > Support Newsgroups > nexusdb.public.support
Log in
FAQ Members List Calendar Today's Posts

 
Thread Tools Display Modes
  #1  
Old 20th July 2024, 09:07 AM
Enrico Enrico is offline
Senior Member
 
Join Date: Apr 2009
Posts: 313
Default I can not get any LOG created. What am I doing wrong?

Hi.
do not see any log file from NexusDb.
For example I want to see what happens when I get the
error "... locked by another user".
the file named in nxEventlog1 is not created, the file
named in the server definition (see log1.jp1 and log2.jpg).
i get file not found
C:\>dir c:\dump\*.log
File Not Found
dir C:\ProgramData\NexusDB4\nxServer\C%3A%5Cclients_te st%5Cfi2022%5Cserver_12%5C\nxServerEvent.log
File Not Found
This is my code:
Code:
   nxsock:=TnxWinsockTransport.create(self);
   nxsock.Name:='nxsock';
  {$ifdef test}
    If debughook <> 0 then
      nxsock.Heartbeatinterval:=0;
 {$endif}
   //*** this is  a component existing in the datamodule
   //**  not created at runtimr
  nxSimpleSession.transport:=nxsock;  
   
  nxsock.Eventlog:=nxEventlog1;// component existing in the datamodule
         /// enabled is set to tru, filename ="c:\dump\nx.log"
  nxsock.Eventlogenabled:=true;
  nxsock.open;

  nxEng:= TnxRemoteServerEngine.create(self);
  nxEng.Name:='nxEng';
  nxeng.transport:=nxsock;
  nxeng.Eventlog:=nxEventlog1;
  nxeng.Eventlogenabled:=true;
  nxeng.open;

  Nxsess:=TnxSession.create(self);
  nxsess.name:='nxSess';
  nxsess.ServerEngine:=nxEng;
  nxsess.Eventlog:=nxEventlog1;
  nxsess.Eventlogenabled:=true;
  nxsess.open;

I alos set the database event log (to nxEventlog1) and
LogEnenabled = true;
Attached Images
File Type: jpg log1.jpg (88.2 KB, 0 views)
File Type: jpg log2.jpg (29.8 KB, 0 views)



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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can nit any LOG created. What am I doing wrong? Enrico nexusdb.public.support 1 20th July 2024 05:26 PM
Persisting Alias created at runtime Clément Doss nexusdb.public.support 2 12th August 2020 09:11 AM
nxmm.dll License Key file not created John Turner nexusdb.public.support 3 9th September 2013 02:37 AM
Set value to a field which is created by ApplyOnModify Sarotech nexusdb.public.support 2 20th July 2013 04:22 AM
Restructure with Dictionary created from code. Is it possible? adfas nexusdb.public.support 9 7th June 2013 08:47 PM


All times are GMT +11. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.