|
|
Logs
Action : wls.logs (Category : wls, Name : logs, By : kikonf)
Complete Name : wls.logs.by.kikonf
Version : 4.0 License : Modified BSD License
Purpose of the wls category :
Easy to customize. This category use in background the wlst command in jython mode, to drive WebLogic Server ® configuration.
You can use it to manage the whole WebLogic ® architecture.
Purpose of this logs plugin : Tune logs parameters
The following shows the Descriptor File for the Action : wls.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\
}'
bal = ''
sub_type = '{\
*value:configuration,\
*eq:configuration,\
*required:True\
}'
softwares = "{\
'*type':'dict',\
'*dtype':\
{\
'wls':\
{\
'*ge':'10',\
'*required':True\
}\
}\
}"
__wk__='{*help:%lang/action.wls.en/logs.help}'
>
<scope
cluster = ''
server = '{*required:True}'
__wk__='{\
*eq:1,\
*help:%lang/action.wls.en/scope.help,\
*lhelp:%lang/action.wls.en/scope.lhelp,\
}'
/>
<server
file_path=''
rot_type='{*checkIn:(bySize,byTime,None)}'
rot_on_startup='{*value:false,*checkIn:(false,true),*required:True}'
min_size='{*value:5000,*type:int,*required:True}'
do_limit_files='{*value:false,*checkIn:(false,true),*required:True}'
max_files='{*value:7,*type:int,*required:True}'
rot_dir=''
__wk__='{*le:1}'
/>
<webserver
enable_log='{*value:false,*checkIn:(false,true),*required:True}'
file_path=''
rot_type='{*checkIn:(bySize,byTime,None)}'
rot_on_startup='{*value:false,*checkIn:(false,true),*required:True}'
min_size='{*value:5000,*type:int,*required:True}'
do_limit_files='{*value:false,*checkIn:(false,true),*required:True}'
max_files='{*value:7,*type:int,*required:True}'
rot_dir=''
__wk__='{*le:1}'
/>
</logs>
<!-- 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\
}'
bal = ''
sub_type = '{\
*value:configuration,\
*eq:configuration,\
*required:True\
}'
softwares = "{\
'*type':'dict',\
'*dtype':\
{\
'wls':\
{\
'*ge':'10',\
'*required':True\
}\
}\
}"
__wk__='{*help:%lang/action.wls.en/logs.help}'
>
<scope
cluster = ''
server = '{*required:True}'
__wk__='{\
*eq:1,\
*help:%lang/action.wls.en/scope.help,\
*lhelp:%lang/action.wls.en/scope.lhelp,\
}'
/>
<server
file_path=''
rot_type='{*checkIn:(bySize,byTime,None)}'
rot_on_startup='{*value:false,*checkIn:(false,true),*required:True}'
min_size='{*value:5000,*type:int,*required:True}'
do_limit_files='{*value:false,*checkIn:(false,true),*required:True}'
max_files='{*value:7,*type:int,*required:True}'
rot_dir=''
__wk__='{*le:1}'
/>
<webserver
enable_log='{*value:false,*checkIn:(false,true),*required:True}'
file_path=''
rot_type='{*checkIn:(bySize,byTime,None)}'
rot_on_startup='{*value:false,*checkIn:(false,true),*required:True}'
min_size='{*value:5000,*type:int,*required:True}'
do_limit_files='{*value:false,*checkIn:(false,true),*required:True}'
max_files='{*value:7,*type:int,*required:True}'
rot_dir=''
__wk__='{*le:1}'
/>
</logs>
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/wls/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 wls.logs Descriptor File :
/logs>   Tune logs parameters
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
type
|
 
|
 
|
True
|
 
|
 
|
bal
|
 
|
str
|
 
|
 
|
 
|
sub_type
|
configuration
|
 
|
True
|
 
|
 
|
softwares
|
 
|
dict
|
 
|
 
|
 
|
/logs/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
cluster
|
 
|
str
|
 
|
 
|
 
|
server
|
 
|
 
|
True
|
 
|
 
|
/logs/server>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
file_path
|
 
|
str
|
 
|
 
|
 
|
rot_type
|
 
|
(bySize, byTime, None)
|
 
|
 
|
 
|
rot_on_startup
|
false
|
(false, true)
|
True
|
 
|
 
|
min_size
|
5000
|
int
|
True
|
 
|
 
|
do_limit_files
|
false
|
(false, true)
|
True
|
 
|
 
|
max_files
|
7
|
int
|
True
|
 
|
 
|
rot_dir
|
 
|
str
|
 
|
 
|
 
|
/logs/webserver>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
enable_log
|
false
|
(false, true)
|
True
|
 
|
 
|
file_path
|
 
|
str
|
 
|
 
|
 
|
rot_type
|
 
|
(bySize, byTime, None)
|
 
|
 
|
 
|
rot_on_startup
|
false
|
(false, true)
|
True
|
 
|
 
|
min_size
|
5000
|
int
|
True
|
 
|
 
|
do_limit_files
|
false
|
(false, true)
|
True
|
 
|
 
|
max_files
|
7
|
int
|
True
|
 
|
 
|
rot_dir
|
 
|
str
|
 
|
 
|
 
|
Trademarks :
- "oracle", "Weblogic", "Weblogic Server", "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
- Other names may be trademarks of their respective owners.
|