Oracle
1Z0-441 · Question #14
You are building a new MAF application and the design documentation specifies the following requirements about the application logs: 1. Log entries by the MAF framework must be kept at a minimum…
The correct answer is C. Set.handlerstooracle.adfmf.util.logging.handlers.SQLiteHandlerin D. Setoracle.adfmf.application.leveltoFINESTin thelogging.propertiesfile. See the full explanation below for the reasoning.
Question
You are building a new MAF application and the design documentation specifies the following requirements about the application logs: 1. Log entries by the MAF framework must be kept at a minimum. 2.Log entries generated by your own business logic must be as detailed as possible for compliance purpose. Thelogging.propertiesfile for your application currently looks like this: .handlers=com.sun.util.logging.ConsoleHandler .formatter=com.sun.util.logging.SimpleFormatter oracle.adfmf.util.logging.ConsoleHandler.level=SEVERE oracle.adfmf.util.logging.ConsoleHandler.formatter=oracle.adfmf.util.logging.PatternFormatt er oracle.adfmf.util.logging.PatternFormatter.pattern=[%LEVEL% - %LOGGER% - %CLASS% - %METHOD%]%MESSAGE% oracle.adfmf.application.useParentHandlers=false oracle.adfmf.application.handlers=oracle.adfmf.util.logging.ConsoleHandler oracle.adfmf.application.level=INFO oracle.adfmf.framework.useParentHandlers=false oracle.adfmf.framework.handlers=oracle.adfmf.util.logging.ConsoleHandler oracle.adfmf.framework.level=FINE Which two actions would you perform to fulfill the requirements?
Options
- AUse loggers from thecom.sun.loggingpackage in you code.
- BSetoracle.adfmf.application.leveltoFULLin thelogging.propertiesfile.
- CSet.handlerstooracle.adfmf.util.logging.handlers.SQLiteHandlerin
- DSetoracle.adfmf.application.leveltoFINESTin thelogging.propertiesfile.
- ESetoracle.adfmf.framework.leveltoSEVEREin thelogging.propertiesfile.
How the community answered
(37 responses)- A16% (6)
- B8% (3)
- C73% (27)
- E3% (1)
Community Discussion
No community discussion yet for this question.