Return to search

System för monitorering av loggar

This degree project is dedicated to Waymark in Stockholm. Waymark is a consulting company where they, among other projects, develops a web application for one of the major banks in Sweden. Today the application is fully functional and deployed at the bank’s application server. Much of the work today is about maintenance but a lot of time goes to solve the bugs that the bank reports back to Waymark. One feature that was considered missing was to read the logs from the production environment in a smoothly manner. This functionality seemed appropriate for a degree project of ten weeks. The work is about solving this task and developing a prototype to be delivered to Waymark during the project. To solve this problem different log-analysis frameworks are tested to see how well they would fit. The web application is written in Java 7 and running on a WebSphere at the bank. The web layer is written in Wicket, jQuery and CSS3. Service layer running JPA2 and Google Guice used for dependency injection. For logging Log4J is used. The result turned out to be a built-in functionality in the application that manages the monitoring of the logs. Through the admin GUI, a specific log page can be opened where the user can read and filter the results to find the desired log messages. Configuration of Log4jJ has been done. Where on disk and how logs are stored has been discussed. Testing of the new functionality has been a high priority throughout the project. / Detta examensarbete är utfört åt Waymark i Stockholm. Waymark är ett IT-konsultbolag där bland annat en intern webbapplikation åt en storbank utvecklas. Applikationen är fullt fungerande och körs på bankens interna server. Idag förvaltar Waymark applikationen men ny funktionalitet införs konstant samtidigt som mycket arbete handlar om att lösa systemets buggar som banken rapporterar. En funktion som saknades var att kunna läsa loggarna från produktion på ett smidigt sätt. Denna funktionalitet ansågs som en passande uppgift för ett examensarbete på 10 veckor. Arbetet kretsar kring att utifrån den givna webbapplikationen undersöka hur denna funktionalitet skulle kunna se ut samt att utveckla fram en prototyp som levereras till Waymark innan projektets slut. I arbetet granskas logganalyserings ramverk för att se hur väl de skulle passa in i detta projekt. Webbapplikationen är skriven i Java 7 och körs på en WebSphere hos banken. Webblagret är skrivet i Wicket, jQuery och CSS3. Servicelagret kör JPA2 och Google Guice används för dependency injection. För loggning används Log4J. Resultatet blev en inbyggd funktionalitet i applikationen som sköter monitorering av loggarna. Via ett admin GUI kan en specifik loggsida öppnas där användaren kan söka och filtrera resultaten för att hitta önskade loggutskrifter. Konfiguration i Log4J har också genomförts. Var på disk och hur loggarna ska sparas har diskuterats. Testning av den nya funktionaliteten har haft hög prioritet genom hela projektet.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-175821
Date January 2015
CreatorsKarlsson, Karl
PublisherKTH, Skolan för informations- och kommunikationsteknik (ICT)
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTRITA-ICT-EX ; 2015:69

Page generated in 0.0028 seconds