Hi, Yes, you can't log to a file when using the in-memory mode. You would need to use the persistent mode (save the database file on disk). Or, you could use Slf4J, as documented here: http://www.h2database.com/html/features.html?highlight=SLF4J&search=slf4j#other_logging
Regards, Thomas On Mon, May 11, 2015 at 3:31 PM, Ajay Yadav <[email protected]> wrote: > I am using following url to create my h2 database, but I am not getting > trace.db file correspond to my url. > > URL : > hibernate.connection.url=jdbc:h2:mem:__stats_db,RACE_LEVEL_FILE=3,TRACE_LEVEL_SYSTEM_OUT=3,DB_CLOSE_DELAY=-1 > > -- > 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. > -- 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.
