<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">Hi Tang,</div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br></div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">The domain name is not important here, also the master found the log server using the host you have mentioned in the vars.sh file [1].</div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000"><br></div><div class="gmail_default" style="font-family:monospace,monospace;color:#000000">[1] <a href="https://github.com/rasselin/os-ext-testing-data/blob/master/vars.sh.sample#L10">https://github.com/rasselin/os-ext-testing-data/blob/master/vars.sh.sample#L10</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 7, 2015 at 9:47 AM, Tang Chen <span dir="ltr"><<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Asselin,<span class=""><br>
<br>
<div>On 08/06/2015 09:44 PM, Asselin, Ramy
wrote:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi
Tang,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">First,
I recommend you use os-loganalyze because it significantly
increases the value of the log files by making them easier
to consume.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I’m
not sure what the issue you encountered is. The link you
provide is to use swift, but that is the newer alternative
to the old-fashion files on disk approach, and not a
requirement.</span></p>
</div>
</blockquote>
<br></span>
True. And I'm not using swift right now.<span class=""><br>
<br>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">That
said, you’ll find the rules in one of the files located
here: /etc/apache2/sites-enabled/<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It
is created by this template [1]. As you see, there’s not
htmlify directory because it’s an alias that invokes
os-loganalyze.</span></p>
</div>
</blockquote>
<br></span>
Yes, I saw the source. Thank you very much to clarify that. <br>
It is OK now. <br>
<br>
But one more thing I want to confirm. <br>
<br>
install_log_server.sh should be run on log server, right ?<br>
Then $DOMAIN is configured to the domain name of the log server
itself, and nothing about jenkins master is configured.<br>
So how does the jenkins master find the log server ?<br>
In other word, how does the jenkins master know the domain name of
log server ?<br>
<br>
Thanks.<div><div class="h5"><br>
<br>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ramy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[1]
<a href="http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85" target="_blank">http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
Tang Chen [<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">mailto:tangchen@cn.fujitsu.com</a>]
<br>
<b>Sent:</b> Thursday, August 06, 2015 5:07 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> Re: [openstack-dev] How to use the log
server in CI ?<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Joshua,<br>
<br>
Thanks to reply. <u></u><u></u></p>
<div>
<p class="MsoNormal">On 08/06/2015 07:45 PM, Joshua Hesketh
wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi
Tang,<u></u><u></u></p>
</div>
<p class="MsoNormal">For OpenStack's set up,
os-loganalyze sits at /htmlify/ and is used to add
markup and filter log lines when viewing in a
browser.<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
On my box, I don't have a /htmlify/ directory, and I don't
think I installed os-loganalyze at all.
<br>
But when I accessed to the log site, the URL was just
modified, added /htmlify/.<br>
<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
For your own set up you don't need to use this and
could simply serve anything straight off your disk.
It should be safe to remove the apache matching
rules in order to do so.<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
I'm sorry, how to remove the apache matching rules ? From
where ?<br>
<br>
Thanks. :)<br>
<br>
<br>
<br>
<u></u><u></u></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hope
that helps.<u></u><u></u></p>
</div>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
</div>
<p class="MsoNormal">Josh<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Aug 6, 2015 at 6:50 PM, Tang
Chen <<a href="mailto:tangchen@cn.fujitsu.com" target="_blank">tangchen@cn.fujitsu.com</a>>
wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Hi Abhishek,<br>
<br>
After I setup a log server, if the request ends in
.txt.gz, console.html or console.html.gz rewrite the
url to prepend /htmlify/ .<br>
But actually the log file is on my local machine.<br>
<br>
Is this done by os-loganalyze ? Is this included in
install_log_server.sh ? (I don't think so.)<br>
Could I disable it and access my log file locally ?<br>
<br>
I found this URL for reference.<br>
<a href="http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/" target="_blank">http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/</a><br>
<br>
Thanks. :)<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage
questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<u></u><u></u></p>
<pre>__________________________________________________________________________<u></u><u></u></pre>
<pre>OpenStack Development Mailing List (not for usage questions)<u></u><u></u></pre>
<pre>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><u></u><u></u></pre>
<pre><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font color="#000000" size="2" face="times new roman, serif"><b>Thanks & Regards,<br></b></font></div><font color="#000000"><font size="2" face="times new roman, serif"><b>Abhishek</b></font><br></font></div></div><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div>