You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/11/01 10:27:25 UTC

[jira] Commented: (DERBY-4755) DERBY-4601 added a new message to derby.log during engine shutdown and it changed the database shutdown message. Need to update docs with that information

    [ https://issues.apache.org/jira/browse/DERBY-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926866#action_12926866 ] 

Knut Anders Hatlen commented on DERBY-4755:
-------------------------------------------

I went ahead and removed the blank line. Committed revision 1029579.

Now I see this in derby.log after a sequence of booting a database, shutting it down, and finally shutting the engine down:

----------------------------------------------------------------
Mon Nov 01 10:00:17 CET 2010:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.7.0.0 alpha - (1): instance a816c00e-012c-06aa-5f68-00000369adb8 
on database directory /tmp/db  with class loader sun.misc.Launcher$AppClassLoader@17182c1 
Loaded from file:/code/derby/trunk0/classes/
java.vendor=Sun Microsystems Inc.
java.runtime.version=1.6.0_21-b06
Database Class Loader started - derby.database.classpath=''
----------------------------------------------------------------
Mon Nov 01 10:00:33 CET 2010:
Shutting down instance a816c00e-012c-06aa-5f68-00000369adb8 on database directory /tmp/db with class loader sun.misc.Launcher$AppClassLoader@17182c1 
----------------------------------------------------------------
Mon Nov 01 10:00:44 CET 2010: Shutting down Derby engine
----------------------------------------------------------------

I still feel the messages look a bit untidy. Especially the boot message. For example, the line that specifies the version, there's not much point in mentioning both Apache and Derby twice, so perhaps we could simplify it to something like this:

Booting Apache Derby 10.7.0.0 alpha - (1): instance a816c00e-012c-06aa-5f68-00000369adb8

> DERBY-4601 added a new message to derby.log during engine shutdown and it changed the database shutdown message. Need to update docs with that information
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4755
>                 URL: https://issues.apache.org/jira/browse/DERBY-4755
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.7.1.0
>            Reporter: Mamta A. Satoor
>            Assignee: Kim Haase
>         Attachments: derby.log, space.diff
>
>
> DERBY-4601 added a new message to derby.log during engine shutdown and it changed the database shutdown message. Need to update docs with that information. I have found 2 places in our docs where we show examples of shutdown messages
> 1)In Getting started Guide, under Creating a Derby database and running SQL statements section, we show a typical startup and shutdown message. That section will need to change
> 2)In Derby Developer's Guide, under section Derby System -> Shutting down the system
> An eg of engine shutdown message in derby.log is
> 2010-07-23 18:59:24.078 GMT Thread[main,5,main] :Shutting down Derby Engine
> An eg of database shutdown message is as follows
> 2010-07-20 17:23:55.171 GMT:
> Shutting down instance 80220011-0129-f0e1-f479-0000000c5ef0 on database directory C:\p4clients\svnmain\client2\trunk\systest\out142\dbs\tours3 with class loader sun.misc.Launcher$AppClassLoader@3f6e3f6e 
> (Notice that this message includes the name of the db getting shutdown. Before the changes for DERBY-4601 went in, we didn't include the name of the database)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.