 ;; Install additinal themes from melpa
 ;; make sure to use :defer keyword
 (use-package hemera-theme :ensure :defer)
+(use-package logview :ensure :defer
+  :init
+  (add-hook #'log4j-mode-hook #'view-mode)
+  (add-hook #'log4j-mode-hook #'read-only-mode)
+  (add-hook #'log4j-mode-hook 'eos/turn-on-hl-line))
+
+(setq-default logview-additional-submodes
+              '(("NoClassnameLog4j"
+                 (format . "TIMESTAMP [THREAD] LEVEL -")
+                 (levels . "SLF4J")
+                 (timestamp)
+                 (aliases))))
+              
+
+;;(logview-additional-submodes
+;;  '(("ADVALog4j"
+;;    (format . "TIMESTAMP [THREAD] LEVEL -")
+;;     (levels . "SLF4J")
+;;     (timestamp)
+;;     (aliases))))
+;;(logview-auto-revert-mode 'auto-revert-tail-mode)
+;;(package-selected-packages '(circadian nyx-theme hemera-theme use-package)))
+
+
+(use-package vlf :ensure :defer)
 (use-package nyx-theme :ensure :defer)
 (use-package circadian :ensure :defer)
 (use-package perl6-mode


(set-language-environment "UTF-8")
(set-default-coding-systems 'utf-8)


(column-number-mode t)

      `((".*" ,temporary-file-directory t)))


(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
;;(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
;(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
