GONG Jie
019ee7ee81
Remove trailing spaces in file perl-xCAT/xCAT/MsgUtils.pm
2017-12-31 23:59:59 +00:00
Bin Xu
1c1eace773
Recording the Severity of log message into xCAT logs ( #5267 )
...
- modify rsyslog conf and add "%syslogseverity-text:::uppercase%" to input the text Severity
- remove duplicate Severity in log message
- modify MsgUtils::trace for better performance and code structure
2018-06-05 17:57:55 +08:00
Bin Xu
6d8081142b
workaround ($4929) the MsgUtil.pm first to make sure xcatd will not crash when /dev/log is not ready. ( #4974 )
2018-03-27 14:04:51 +08:00
chenglch
cc588f4af1
Modify startup configuration for goconserver and conserver
...
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
chenglch
25bede4130
Modify goconserver msg for SN
...
The message util from xCAT framework do not print where the message
comes from by default. This patch add [service host] prefix for the
message if message is from SN.
2018-03-20 15:32:50 +08:00
Bin Xu
57aa417987
Not return directly for nodeset when hit one node failure
2017-09-30 10:29:32 +08:00
yangsong
317845a04c
merge 2.13.perfopt branch to master branch ( #3044 )
...
* Add trace point for perf tool in xcatd (#903 )
This patch aims to enable nytprof library to analyze the performance
of xcat code in statement level.
- Add perf trace point in xcatd
- Add sleep time for db prcess to solve the race condition when
- perf instraction is used.
More reference
To enable prof:
perl -dt:NYTProf /opt/xcat/sbin/xcatd -f
Some perf test sample:
https://github.com/chenglch/xcatperf
* refine the performance of makedhcp (#2901 ), it including:
- refine the code logic in getSNList to get better performance
- refine the getipaddr, cache the dns lookup result
- refine noderangecontainsMn
- refine ishostinsubnet
2017-05-18 14:23:29 +08:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
penguhyang
c6d543ad42
make a fixed value scope for xcatdebugmode
2016-03-25 05:45:38 -04:00
huweihua
0a112126d4
fix typo
2015-08-19 03:07:51 -04:00
huweihua
00c13144fa
replace systemd by syslog
2015-08-18 23:40:03 -04:00
huweihua
f6eb1d3bb3
add description for trace subroutine and remove useless lines
2015-08-18 04:24:05 -04:00
huweihua
61d8537e90
add trace function
2015-08-13 23:28:41 -04:00
GONG Jie
ce9430d280
Fix sourceforge bug #4691 Use a consistent log tag for xCAT log
2015-07-02 14:58:53 +08:00
lissav
aff90b34ac
Support for auditlog without syslog
2014-09-11 13:39:55 -04:00
lissav
9a237c699b
Support for auditlog without syslog
2014-09-11 13:12:56 -04:00
lissav
a02372c5cb
defect 3731
2013-08-12 13:49:31 -04:00
lissav
9209ba674b
Defect 3731
2013-08-12 12:52:25 -04:00
lissav
7aaa8059f0
Allow MsgUtils to accept 0 as a return code on error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-11 14:34:37 +00:00
lissav
cbca0e5878
add support for sinfo tag
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-29 10:40:25 +00:00
nott
ac30816620
fix perl INC path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
zhaoertao
2f4cbf7dbf
code for Adding verbose for xCAT commands item
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
daniceexi
9931cd58a5
code drop for the trace facility of xcat
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-04 13:04:58 +00:00
lissav
8e156feb81
Move require for Table.pm down to auditlog section
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-31 16:00:04 +00:00
lissav
f71de540d7
change format of time in auditlog
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9178 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-29 14:55:43 +00:00
lissav
a6338d15a7
fix 3053535, syslogging everything as error ( shows up on AIX)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-24 11:48:46 +00:00
lissav
26d2c27cd8
fix 2986319 MsgUtils should not commit when running under sqllite when updating auditlog
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 13:22:53 +00:00
lissav
4e138d4011
change get table handle for SA option, create hangs on DB2
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 14:48:26 +00:00
lissav
fef18ac04e
fix MsgUtils SA option for xcatd -f interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 16:41:42 +00:00
lissav
1ea195ee01
only audit log if on the MN
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-10 18:57:42 +00:00
lissav
15a6ce46ef
add support for auditlog update, testing to be done want to get in for regression testing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5355 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 18:26:57 +00:00
nott
81485eced5
Temporary fix for perl INC path issue.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 13:07:29 +00:00
jbjohnso
f478676446
-Specify target noderange in some places where applicable in logs/ps output
...
-Add a line feed to stdout type messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 14:50:08 +00:00
lissav
1ad6abf4e7
add support for Node structure in messaging
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-05 18:56:50 +00:00
lissav
1bd1012693
add xCAT logging support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-07 14:07:21 +00:00
jbjohnso
9c0da486aa
-Change MsgUtils function to not fork logger
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 17:21:08 +00:00
lissav
6239f76d54
fix error message
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 14:00:31 +00:00
lissav
ef5f9c598b
Change to using logger for syslog instead of perl interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-10 12:47:08 +00:00
jbjohnso
77d55609c0
-Move perl-xCAT to not have version in trunk name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 15:00:37 +00:00