---
title: "windows查看tomcat动态日志"
author: "jjjssh"
date: "2018-06-20T19:06:28Z"
tags: []
categories: ["操作系统"]
slug: "windows-tomcat"
draft: false
lastmod: "2018-06-20T19:06:28Z"
id: 2425272
url: "https://jjjssh.iteye.com/blog/2425272"
---

有时候，我们需要在window下动态地观察tomcat的日志
-----------------------------------------------------------
@echo off
    tail -f E:\xxtworkspace6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs\localhost_access_log.2018-06-20.txt

-----------------------------------------------------------
分隔线内的内容，保存成.bat文件，然后双击打开，即可以实现tail -f xxx.log文件