1 \section{Logging} |
1 \section{Logging} |
2 |
2 |
3 \begin{frame}[fragile]{Logging} |
3 \begin{frame}[<+->][fragile]{Logging} |
4 Sicherheit heißt auch Logging. Auskunft über das Verarbeiten der |
4 Sicherheit heißt auch Logging. Auskunft über das Verarbeiten der |
5 Nachricht. Gesteuert wird u.a. über \verb=log_selector=, \verb=log_write=, |
5 Nachricht. Gesteuert wird über \verb=log_selector=, \verb=log_write=, |
6 \verb=debug_print=. |
6 \verb=debug_print=. |
|
7 \pause |
|
8 Kein Logging bedeutet Fehler 4xx! |
|
9 \pause |
7 \begin{description} |
10 \begin{description} |
8 \item[mainlog] alle relevanten Transaktionen, dokumentiertes, |
11 \item[mainlog] alle relevanten Transaktionen, \emph{dokumentiertes} |
9 maschinenlesbares Format |
12 menschen- und maschinenlesbares Format |
10 \item[rejectlog] Details zu abgewiesenen Nachrichten |
13 \item[rejectlog] Details zu abgewiesenen Nachrichten |
11 \item[paniclog] Konfigurationsfehler, schwere Probleme |
14 \item[paniclog] Konfigurationsfehler, schwere Probleme |
12 \item[messagelog] Transaktionen zu einer spezifischen Nachricht |
|
13 \item[syslog] Fallback, wenn nicht mal mehr paniclog geht |
15 \item[syslog] Fallback, wenn nicht mal mehr paniclog geht |
|
16 \item[messagelog] Transaktionen zu einer spezifischen Nachricht bis |
|
17 zur „completion“ |
14 \end{description} |
18 \end{description} |
15 \scriptsize |
19 \scriptsize |
16 \begin{alltt} |
20 \begin{alltt} |
17 \input{msglog.tt} |
21 \input{out/msglog.tt} |
18 \end{alltt} |
22 \end{alltt} |
19 \end{frame} |
23 \end{frame} |
20 |
24 |
21 \begin{frame}[fragile]{Logging}{mainlog} |
25 \begin{frame}[fragile]{Logging}{mainlog} |
22 \scriptsize |
26 \scriptsize |
23 \verbatiminput{mainlog.tt} |
27 \verbatiminput{out/mainlog.tt} |
24 \end{frame} |
28 \end{frame} |
25 |
29 |
26 \begin{frame}[fragile]{Logging}{rejectlog} |
30 \begin{frame}[fragile]{Logging}{rejectlog} |
27 \scriptsize |
31 \scriptsize |
28 \verbatiminput{rejectlog.tt} |
32 \verbatiminput{out/rejectlog.tt} |
29 \end{frame} |
33 \end{frame} |
30 |
34 |