Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 508/9 Software Engineering (Design & Deployment) Lecture 10. Cloud Services (Logger)

Slide 2

Slide 2 text

Previously

Slide 3

Slide 3 text

SLF4J Logback | Logging 3

Slide 4

Slide 4 text

Cloud-Based Log Management

Slide 5

Slide 5 text

Cloud-Base Log Management • Cloud-b a sed log m a n a gement refers to the pr a ctice of collecting, storing, a n a lyzing, a nd m a n a ging log d a t a using cloud services. • This a ppro a ch lever a ges cloud computing to h a ndle the v a st a mounts of log d a t a 5

Slide 6

Slide 6 text

Next 6 trace() debug() info () warn () error() message 01 message 02 message 03 message 04 message 05 Logger Appender

Slide 7

Slide 7 text

betterstack.com/logs 7

Slide 8

Slide 8 text

We need keys 8 String key = "XYZabc123259#$%#$Fcaskjhdux_2342445Calp";

Slide 9

Slide 9 text

betterstack.com/logs 9

Slide 10

Slide 10 text

betterstack.com/logs 10 WE6x9ya1dfMwRTouP9DEBmg

Slide 11

Slide 11 text

HttpAppender Our very own creation Just for fun

Slide 12

Slide 12 text

SLF4J Logback | Add the dependency 12 Just for JSON Support https://github.com/CSC3100/Tool-Logging

Slide 13

Slide 13 text

src/main/resources/logback.xml 13 WE6x9ya1dfMwRTouP9DEB https://github.com/CSC3100/Tool-Logging

Slide 14

Slide 14 text

javiergs.HttpAppender (Part 1/4) 14 https://github.com/CSC3100/Tool-Logging

Slide 15

Slide 15 text

javiergs.HttpAppender (Part 2/4) 15 https://github.com/CSC3100/Tool-Logging

Slide 16

Slide 16 text

javiergs.HttpAppender (Part 3/4) 16 https://github.com/CSC3100/Tool-Logging

Slide 17

Slide 17 text

javiergs.HttpAppender (Part 4/4) 17 https://github.com/CSC3100/Tool-Logging

Slide 18

Slide 18 text

logs.betterstack.com 18

Slide 19

Slide 19 text

Full Solution 19 trace() debug() info () warn () error() message 01 message 02 message 03 message 04 message 05 Logger Appender Appender Appender

Slide 20

Slide 20 text

Questions 20

Slide 21

Slide 21 text

Let Talk About your Projects

Slide 22

Slide 22 text

Let’s Work 22

Slide 23

Slide 23 text

CSC 307 Introduction to Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected] Summer 2024 Copyright. These slides can only be used as study material for the class CSC307 at Cal Poly. They cannot be distributed or used for another purpose.