Difference between revisions of "Maximo - Logging Properties SQL"

From ExxtremeWiki
Jump to: navigation, search
m
m
 
Line 25: Line 25:
  
 
--wkh 15:03, 19 May 2009 (UTC)
 
--wkh 15:03, 19 May 2009 (UTC)
[[Categories: Maximo 6.x | SQL, Oracle]]
+
[[Categories: Maximo 6.x, SQL, Oracle]]

Latest revision as of 20:33, 15 January 2012

Maximo - Logging Properties SQL [edit] -- Create Object Level SQL Logging Entries

SELECT 'log4j.logger.maximo.sql.' || servicename || '.' || objectname || '=DEBUG' FROM maxobject
WHERE servicename IN ('ASSET','COMPANY','ITEM','INVENTORY')
ORDER BY 1

[edit] -- Create Service Level Logging Entries

SELECT 'log4j.logger.maximo.service.' || servicename || '.' || objectname || '=DEBUG' FROM maxobject
WHERE servicename IN ('ASSET','COMPANY','ITEM','INVENTORY')
ORDER BY 1

[edit] --Create SQL Loggers by Business Object

SELECT 'log4j.logger.maximo.sql.' || servicename || '.' || objectname || '=DEBUG' FROM maxobject
WHERE servicename IN ('COMPMASTER','COMPANY','COMPCONTACT')
UNION
<SOURCE lang=SQL>
SELECT 'log4j.logger.maximo.service.' || servicename || '.' || objectname || '=DEBUG' FROM maxobject
WHERE servicename IN ('COMPMASTER','COMPANY','COMPCONTACT')
ORDER BY 1

These queries were developed by Chris Lawless - all credit goes to him

--wkh 15:03, 19 May 2009 (UTC) Categories: Maximo 6.x, SQL, Oracle