1. 在build.xml中修改Finesse运行时的参数

 <target name="run" depends="compile, compile-bootstrap-less, retrieve" description="Start FitNesse from the command line">
<ivy:cachepath pathid="standalone.classpath" conf="standalone"/>
<java classname="fitnesseMain.FitNesseMain" fork="true" failonerror="true">
<arg value="-o" />
<arg value="-v" />
<arg value="-l"/> //添加参数-l
<arg value="E:\\fitnesse\\workspace\\fitnesse-master\\log"/>//添加日志输出目标目录
<arg value="-p" />
<arg value="${port}" /> <classpath>
<path refid="standalone.classpath"/>
<pathelement location="${classes.dir}"/>
</classpath> </java>
</target>

2. 重新启动Fitnesse

3. 执行用例

4. 进入E:\fitnesse\workspace\fitnesse-master\log,在该目录下将会生成一个fitnesse20160708165006.log文件

内容如下:

 0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:06 +0800] "" 400 2044
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:06 +0800] "GET /FitNesse.FullReferenceGuide.UserGuide.AdministeringFitNesse.LogFiles HTTP/1.1" 200 9829
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /FitNesse.UserGuide.TwoMinuteExample HTTP/1.1" 200 19862
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/css/fitnesse_wiki.css HTTP/1.1" 200 4144
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/javascript/fitnesse.js HTTP/1.1" 200 7326
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/css/fitnesse_pages.css HTTP/1.1" 200 6119
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/wysiwyg/wysiwyg.css HTTP/1.1" 200 4255
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/bootstrap/js/respond.js HTTP/1.1" 200 9746
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/javascript/mousetrap.min.js HTTP/1.1" 200 3850
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/bootstrap/js/bootstrap.js HTTP/1.1" 200 68954
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/javascript/jquery-1.11.3.min.js HTTP/1.1" 200 95957
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/bootstrap/css/fitnesse-bootstrap.css HTTP/1.1" 200 155256
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/images/fitnesse-logo-small.png HTTP/1.1" 200 10408
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:20 +0800] "GET /files/fitnesse/bootstrap/img/minus-sign.png HTTP/1.1" 200 1222
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /FitNesse.UserGuide.WritingAcceptanceTests.SliM.DecisionTable HTTP/1.1" 200 19214
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/css/fitnesse_wiki.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/bootstrap/css/fitnesse-bootstrap.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/javascript/jquery-1.11.3.min.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/css/fitnesse_pages.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/wysiwyg/wysiwyg.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/javascript/fitnesse.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/javascript/mousetrap.min.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/bootstrap/js/respond.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/bootstrap/js/bootstrap.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/images/fitnesse-logo-small.png HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:30 +0800] "GET /files/fitnesse/bootstrap/img/plus-sign.png HTTP/1.1" 200 1289
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/css/fitnesse_wiki.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/css/fitnesse_pages.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/bootstrap/css/fitnesse-bootstrap.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/javascript/jquery-1.11.3.min.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/wysiwyg/wysiwyg.css HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/javascript/fitnesse.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/bootstrap/js/respond.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/bootstrap/js/bootstrap.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:32 +0800] "GET /files/fitnesse/images/fitnesse-logo-small.png HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:34 +0800] "GET /files/fitnesse/bootstrap/img/plus-sign.png HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:35 +0800] "GET /files/fitnesse/images/exception.png HTTP/1.1" 200 3104
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:35 +0800] "GET /files/fitnesse/images/wrong.png HTTP/1.1" 200 3145
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:35 +0800] "GET /files/fitnesse/javascript/mousetrap.min.js HTTP/1.1" 304 0
0:0:0:0:0:0:0:1 - - [08/Jul/2016:16:50:35 +0800] "GET /FitNesse.UserGuide.WritingAcceptanceTests.SliM.DecisionTable?test HTTP/1.1" 200 23316 // 这里就记录着访问信息

Fitnesse 访问日志配置的更多相关文章

  1. centos LAMP第二部分apache配置 下载discuz!配置第一个虚拟主机 安装Discuz! 用户认证 配置域名跳转 配置apache的访问日志 配置静态文件缓存 配置防盗链 访问控制 apache rewrite 配置开机启动apache tcpdump 第二十节课

    centos    LAMP第二部分apache配置  下载discuz!配置第一个虚拟主机 安装Discuz! 用户认证 配置域名跳转  配置apache的访问日志  配置静态文件缓存  配置防盗链 ...

  2. Nginx 访问日志配置

    一.Nginx 访问日志介绍 Nginx 软件会把每个用户访问网站的日志信息记录到指定的日志文件里,供网站提供者分析用户的浏览行为等,此功能由 ngx_http_log_module 模块负责. 二. ...

  3. Nginx的访问日志配置信息详解

    Nginx的访问日志可以让我们知晓用户的地址,网站的那些部分最受欢迎,以及用户浏览时间等.Nginx会把每个用户的访问日志记录到指定的日志文件中. Nginx主要有两个参数来控制 log_format ...

  4. Nginx 访问日志轮询切割

    Nginx 访问日志轮询切割脚本 #!/bin/sh Dateformat=`date +%Y%m%d` Basedir="/application/nginx" Nginxlog ...

  5. Nginx 错误日志配置

    1.Nginx错误日志信息介绍: error_log的语法格式及参数说明: error_log      file         level; 关键字    日志文件   错误日志级别 其中,关键字 ...

  6. nginx访问日志(access_log)

    一.nginx访问日志介绍 nginx软件会把每个用户访问网站的日志信息记录到指定的日志文件里,供网站提供者分析用户的浏览行为等,此功能由ngx_http_log_module模块负责,对应的官方地址 ...

  7. apache2.4配置访问日志分割并过滤图片CSS等无用内容

    相关信息 1.apache日志有访问日志和错误日志,错误日志根据日志级别来输出错误信息,而访问日志根据定义的日志格式来记录访问动作 2.访问日志格式在httpd.conf文件里面定义,在虚拟主机里面引 ...

  8. Tomcat访问日志详细配置

    在server.xml里的<host>标签下加上 <Valve className="org.apache.catalina.valves.AccessLogValve&q ...

  9. 配置Tomcat的访问日志格式化输出

    博客搬家,本文新地址:http://www.zicheng.net/article/9   本文描述如何配置tomcat的访问日志,按我们的要求输出指定的日志格式. 且在Nginx+Tomcat的配置 ...

随机推荐

  1. Ubuntu Server 12.04 乱码

    sudo vim /etc/default/locale 将 下面的内容修改 LANG="zh_CN.UTF-8" LANGUAGE="zh_CN:zh" 修改 ...

  2. C#Soket组播

    using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.N ...

  3. C语言宏定义时#(井号)和##(双井号)作用

    #的功能是将其后面的宏参数进行字符串化操作(Stringfication),简单说就是在对它所引用的宏变量 通过替换后在其左右各加上一个双引号. #define example(instr) prin ...

  4. 例题6-16 单词 UVa10129

    1.题目描写叙述:点击打开链接 2.解题思路:本题利用欧拉回路存在条件解决. 能够将全部的单词看做边,26个字母看做端点,那么本题事实上就是问是否存在一条路径,能够到达全部出现过的字符端点. 因为本题 ...

  5. ASP.NET MVC 页面使用富文本控件的XSS漏洞问题

    目前在做的项目存在XSS安全漏洞! 原因是有一些页面使用了富文本编辑框,为了使得其内容可以提交,为相关action设置了[ValidateInput(false)] 特性: [HttpPost] [V ...

  6. the algebra of modulo-2 sums disk failure recovery

    x=y x_+_y=0 The bit in any position is the modulo-2 sum of all the bits in the corresponding positio ...

  7. 使用Windows API发送HTTP请求

    先看一个简单的GET示例 #include <Windows.h> #include <winhttp.h> #include <stdio.h> int main ...

  8. BAT网络运维常见面试题目总结

    BAT常见面试题目总结 Author:Danbo 2015-7-11 TCP/IP详解鸟哥Linux的书网络安全ping的原理make的过程文件有哪些类型各种Linux发行版的区别.有关suid的作用 ...

  9. HTML5与php实现消息推送功能

    1.html页面basic_sse.html <!DOCTYPE html> <html lang="en"> <head> <meta ...

  10. 盒子的display属性

    <body> <div style="display:inline">Box-1</div> <div style="displ ...