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 "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2012/06/26 01:09:44 UTC
[jira] [Commented] (DERBY-5240) Log Operating system information to
derby.log on boot
[ https://issues.apache.org/jira/browse/DERBY-5240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401010#comment-13401010 ]
Mamta A. Satoor commented on DERBY-5240:
----------------------------------------
After Derby sytem boots up, we currently put information about Java runtime system in derby.log as shown below
----------------------------------------------------------------
Mon Jun 25 12:43:21 PDT 2012:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.10.0.0 alpha - (1): instance a816c00e-0138-252a-a0d2-0000001b9de8
on database directory C:\p4clients\svnmain\client7\trunk\systest\out142\db1111 with class loader sun.misc.Launcher$AppClassLoader@71f571f5
Loaded from file:/C:/p4clients/svnmain/client7/trunk/classes/
java.vendor=IBM Corporation
java.runtime.version=jvmwa6460sr9-20101124_69295
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 amd64-64 jvmwa6460sr9-20101124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT - r9_20101028_17488ifx2
GC - 20101027_AA
user.dir=C:\p4clients\svnmain\client7\trunk\systest\out142
derby.system.home=null
Database Class Loader started - derby.database.classpath=''
What will be a good place to put the operating system information could be right before we print the "user.dir" info. For the operating system, we can include values of following 3 properties
OS name, OS architecture and OS version.
So, the updated derby.log will look as follows
----------------------------------------------------------------
Mon Jun 25 12:43:21 PDT 2012:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.10.0.0 alpha - (1): instance a816c00e-0138-252a-a0d2-0000001b9de8
on database directory C:\p4clients\svnmain\client7\trunk\systest\out142\db1111 with class loader sun.misc.Launcher$AppClassLoader@71f571f5
Loaded from file:/C:/p4clients/svnmain/client7/trunk/classes/
java.vendor=IBM Corporation
java.runtime.version=jvmwa6460sr9-20101124_69295
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 amd64-64 jvmwa6460sr9-20101124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT - r9_20101028_17488ifx2
GC - 20101027_AA
OS name: XXX
OS architecture: YYY
OS version: ZZZ
user.dir=C:\p4clients\svnmain\client7\trunk\systest\out142
derby.system.home=null
Database Class Loader started - derby.database.classpath=''
Please let me know if this format and informaiton looks good.
> Log Operating system information to derby.log on boot
> -----------------------------------------------------
>
> Key: DERBY-5240
> URL: https://issues.apache.org/jira/browse/DERBY-5240
> Project: Derby
> Issue Type: Improvement
> Components: Services
> Affects Versions: 10.8.1.2
> Reporter: Kathey Marsden
>
> Most critical information from sysinfo is now available in the Derby boot message in derby.log, except for the operating system information.
> e.g.
> OS name: Windows XP
> OS architecture: x86
> OS version: 5.1 build 2600 Service Pack 3
> It would be useful to log the operating system info as well in the derby.log on boot.
> I'll close out DERBY-1272 after filing this issue as this is the last piece of info that needs to be added to the error log.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira