|
Log in |
FAQ | Members List | Calendar | Today's Posts | Search |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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; |
|
|
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 |