cle_clock
Home > wikikonf >  was/actions/by kikonf > logs







Logs

print

Action : was.logs   (Category : was, Name : logs, By : kikonf)
Complete Name : was.logs.by.kikonf
Version : 5.0        License : Modified BSD License

Purpose of the was category :
Easy to customize. This category use in background the wsadmin command in jython mode (through AdminConfig, AdminControl and AdminTask), to drive WebSphere Application Server ® configuration.
You can use it to manage the whole WebSphere ® architecture.

Purpose of this logs plugin : Tune the JVM logs directories

The following shows the Descriptor File for the Action : was.logs

Toggle lines
<!-- Copyright (c) 2008, Patrick Germain Placidoux                          -->
<!-- All rights reserved.                                                   -->
<!--                                                                        -->
<!-- This file is part of Kikonf Public Software.                           -->
<!--                                                                        -->
<!-- Kikonf Public Software is released under the modified BSD License,     -->
<!-- which should accompany it or any part of it in the file "COPYING".     -->
<!-- If you do not have this file you can access the license                -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt.      -->
<!--                                                                        -->
<!-- Home page: http://www.kikonf.org                                       -->
<!-- Contact: kikonf@gmx.com                                                -->
<!-- ====================================================================== -->
<!--                                                                        -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->
<!-- UPDATE     |     DATE     |   CODE   |  REASON                         -->
<!-- ====================================================================== -->
<!--            |              |          |                                 -->
<!--                                                                        -->
<!--                                                                        -->
<!-- ====================================================================== -->




<logs
    type = '{\
        *eq:action,\
        *required:True,\
        *display:False\
    }'
    bal = '{*display:False}'
    sub_type = '{\
        *value:configuration,\
        *eq:configuration,\
        *required:True,\
        *deny:True,\
        *display:False\
    }'
    softwares = "{
        '*type':'dict',
        '*dtype':
            {
                'was':
                {
                    '*ge':'6.1',
                    '*le':'7.9',
                    '*required':True
                }
            },
        '*deny':True, 
        '*display':False
    }"

    root_dir='{\
        *type:str,\
        *help:%lang/action.was.en/logs.root_dir.help,\
        *lhelp:%lang/action.was.en/logs.root_dir.lhelp\
    }'
    do_activity='{\
        *value:true,\
        *checkIn:(false,true),\
        *required:True,\
        *type:str,\
        *help:%lang/action.was.en/logs.do_activity.help,\
        *lhelp:%lang/action.was.en/logs.do_activity.lhelp\
    }'
    __wk__='{\
        *eq:1,\
        *help:%lang/action.was.en/logs.help\
    }'
    >
    <!-- root_dir: is the default root dir for all WAS logs (). -->

    <scope 
        node = '{*required:True}'
        server = '{*required:True}'
        __wk__='{\
            *eq:1,\
            *help:%lang/action.was.en/scope.help,\
            *lhelp:%lang/action.was.en/scope.lhelp\
        }'
    />

    <stdout
        rollover_size='{\
            *value:2,\
            *type:int,\
            *required:True,\
            *lhelp:%lang/action.was.en/logs.rollover_size.lhelp\
        }' 
        max_backup_files='{\
            *value:2,\
            *type:int,\
            *required:True,\
            *lhelp:%lang/action.was.en/logs.max_backup_files.lhelp\
        }' 
        __wk__ = '{\
            *eq:1,\
            *help:%lang/action.was.en/logs.stdout.help\
        }'
    />

    <stderr
        rollover_size='{\
            *value:2,\
            *type:int,\
            *required:True,\
            *lhelp:%lang/action.was.en/logs.rollover_size.lhelp\
        }' 
        max_backup_files='{\
            *value:2,\
            *type:int,\
            *required:True,\
            *lhelp:%lang/action.was.en/logs.max_backup_files.lhelp\
        }' 
        __wk__ = '{\
            *eq:1,\
            *help:%lang/action.was.en/logs.stderr.help\
        }'
    /> 
</logs>
							
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/was/logs/by/kikonf/ACT_INF/action.xml)


A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported Tags, Attributes and Attributes values for one Action.
The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf.

The table below summarizes the informations provided by the was.logs Descriptor File :

/logs>   Tune the JVM logs directories
Required:True
Name Default Type Required Denied Help
root_dir   str     Set the log files root directory
do_activity true (false, true) True   Disable the Activity log.

/logs/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name Default Type Required Denied Help
node     True    
server     True    

/logs/stdout>   Tune the SystemOut.log
Required:True
Name Default Type Required Denied Help
rollover_size 2 int True  
max_backup_files 2 int True  

/logs/stderr>   Tune the SystemErr.log
Required:True
Name Default Type Required Denied Help
rollover_size 2 int True  
max_backup_files 2 int True  



Trademarks :
  • "IBM", "WebSphere", "WebSphere Aplication Server", "WAS" are registred trademarks of International Business Machines Corporation.
  • "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
  • Other names may be trademarks of their respective owners.

Copyright © 2011 - Patrick Placidoux, Hélène Malamoud