Java for Beginners 13 - Logging using slf4j and logback

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you for great and brief overview about java logging and logback functions. Great lessons with straight and clear descriptions and examples.

marosero
Автор

What an excellent tutorial, very informative and excellent presentation. Thank you for the video

harishdaggupati
Автор

In Lesson 6, you mention that you advise beginners to start with a text-editor so we get used to JAVA code... that was not so friendly advice.

I struggled for about 4 days trying to use slf4j and getting errors like "unable to instantiate an Appender of type

That type of error is hard to troubleshoot for a beginner. I downloaded Eclipse after giving up on logback in Sublime.
I still had to troubleshoot (in the Eclipse IDE), but at least it took about 2 hours to find the solution this time.


Starting with text editor is bad advice. IDE's are the way to go.

BURN-ADDiCT
Автор

In this episode of my free Java video course I would like to introduce you to logging. Actually, what is logging? First of all, let’s tell you what my idea is. I have prepared this little test here. I have prepared a little class “carService”. I wanted to process this string “BMW” or Bimmer and in the class, this class so far is empty. My idea is I want to be notified in some way like a print out on the console into a file, the database or maybe even an email or something so I want to be notified in some way. I want to monitor if someone calls this method so that I later on can go through all the calls and can see if something happened. For example if my system was hacked I could go through file and see what time, what happened and then analyze it. That’s the idea. The way this is done is by logging...

MarcusBiel
Автор

Just great, nice and easy way of teaching, detailed.

tinybigstore
Автор

Your teaching method is extremely easy to understand. Thank you so much.

hungphan
Автор

Good Lecture!
and thanks for subtitles

MyoMang
Автор

Dude, Thanks so much, the best part for me is the beginning of the video! I like to know where things start ... soooo good :D...

gvdutra
Автор

Thanks Marcus for the explanation on logback. It would have been good if you have covered what are all the advantages of logback over log4j.

siddha
Автор

Quite an interesting beginning of your video, I expected to learn something useful about slf4j logging, which I did, nut I also leaned new stuff about sailing history :)

oskaldas
Автор

that part about chip log blowed my mind hahaa :D

michamazurkiewicz
Автор

Thank you ! Very useful information you have provided.

sakshibansal
Автор

Thank you very much for awesome video and explanation.
Special thanks for the easy understandable speech. :)

paulmanuilenko
Автор

Great explanation of logging rules and configuration with logback, thanks!

Автор

Thanks for your great explanation :-)
By the way, what is that window on the right side when you execute test?
In my environment, I can see just log messages.

henryyoo
Автор

sir why all the collection classesimplementing clonable interface?

harishchowdarysure
Автор

Do you have a tutorial, where you use the FileAppender?

VitiliKo
Автор

Ahoy you
country choppy. We still use books for logging in the navy. ;-)

mortenwallinjensen
Автор

"I want to process this String: "BMW" or "bhmhwh""
What does that even mean xd

iMoe
Автор

thx but you talked a lot to explain something quite simple?

October-fobz