Hi, With in-memory databases, there is no trace file.
If you want "files" but not on the hard disk, you could use the in-memory file system (see in the docs "Advanced" - "Pluggable File System", "memLZF" or "memFS"). Regards, Thomas On Friday, September 18, 2015, Mayan <[email protected]> wrote: > I think you should add TRACE_LEVEL_SYSTEM_OUT=3 , this is my > > jdbc:h2:tcp://localhost/mem:/root/h2db/h2/data/rl01;DB_CLOSE_DELAY=-1;TRACE_LEVEL_FILE=3;TRACE_LEVEL_SYSTEM_OUT=3 > > 在 2015年9月18日星期五 UTC+8上午4:29:23,Neil Strachan写道: >> >> Hi, >> >> I'm trying to enable trace logging with an in memory db, but no success. >> >> The following is the URL I'm using: >> >> >> # In-Memory – logging enabled but no file >> >> jdbc:h2:mem:dataSource;DB_CLOSE_DELAY=-1;TRACE_LEVEL_FILE=3 >> >> >> If I use an in file database then the trace file appears in c: drive >> using this url: >> >> # In-File db with tracing - trace files are created in C: drive >> jdbc:h2:file:~/dataSource;DB_CLOSE_DELAY=-1;TRACE_LEVEL_FILE=3 >> >> >> Any ideas? >> >> Thanks, >> >> Neil >> > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
