javalogging.pdf
(
188 KB
)
Pobierz
623020556 UNPDF
Java Logging
Sang Shin
Java Technology Architect
Sang Shin
Java Technology Architect
Sun Microsystems, Inc.
Sun Microsystems, Inc.
sang.shin@sun.com
sang.shin@sun.com
www.javapassion.com
www.javapassion.com
Topics
•
What is and Why Java logging?
•
Architecture of Java logging framework
•
Logging example
•
Logging levels
•
Loggers
•
Handlers
•
Formatters
•
Configuration
•
Logging and performance
2
What is & Why
Java Logging API?
What is & Why
Java Logging API?
What is a Java Logging API?
•
Introduced in package
java.util.logging
•
The core package includes support for delivering
plain text or XML-formatted log records to memory,
output streams, consoles, files, and sockets. In
4
addition, the logging APIs are capable of interacting
with logging services that already exist on the host
operating system.
Why Use Java Logging API?
•
Facilitate software servicing and maintenance at
customer sites by producing log reports suitable for
analysis by end users, system administrators, field
service engineers, and software development teams
>
Capture information such as security failures, configuration
errors, performance bottlenecks, and/or bugs in the
application or platform
5
Plik z chomika:
mystiqal
Inne pliki z tego folderu:
1-javaprogbasics.pdf
(390 KB)
2-javainputkey.pdf
(227 KB)
3-javacontrol.pdf
(370 KB)
commandarguments.pdf
(492 KB)
GCIntro.pdf
(261 KB)
Inne foldery tego chomika:
Zgłoś jeśli
naruszono regulamin