[openstack-dev] How to use the log server in CI ?
Tang Chen
tangchen at cn.fujitsu.com
Fri Aug 7 04:17:01 UTC 2015
Hi Asselin,
On 08/06/2015 09:44 PM, Asselin, Ramy wrote:
>
> Hi Tang,
>
> First, I recommend you use os-loganalyze because it significantly
> increases the value of the log files by making them easier to consume.
>
> 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.
>
True. And I'm not using swift right now.
> That said, you'll find the rules in one of the files located here:
> /etc/apache2/sites-enabled/
>
> It is created by this template [1]. As you see, there's not htmlify
> directory because it's an alias that invokes os-loganalyze.
>
Yes, I saw the source. Thank you very much to clarify that.
It is OK now.
But one more thing I want to confirm.
install_log_server.sh should be run on log server, right ?
Then $DOMAIN is configured to the domain name of the log server itself,
and nothing about jenkins master is configured.
So how does the jenkins master find the log server ?
In other word, how does the jenkins master know the domain name of log
server ?
Thanks.
> Ramy
>
> [1]
> http://git.openstack.org/cgit/openstack-infra/puppet-openstackci/tree/templates/logs.vhost.erb#n85
>
> *From:*Tang Chen [mailto:tangchen at cn.fujitsu.com]
> *Sent:* Thursday, August 06, 2015 5:07 AM
> *To:* openstack-dev at lists.openstack.org
> *Subject:* Re: [openstack-dev] How to use the log server in CI ?
>
> Hi Joshua,
>
> Thanks to reply.
>
> On 08/06/2015 07:45 PM, Joshua Hesketh wrote:
>
> Hi Tang,
>
> 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.
>
>
> On my box, I don't have a /htmlify/ directory, and I don't think I
> installed os-loganalyze at all.
> But when I accessed to the log site, the URL was just modified, added
> /htmlify/.
>
>
>
> 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.
>
>
> I'm sorry, how to remove the apache matching rules ? From where ?
>
> Thanks. :)
>
>
>
> Hope that helps.
>
> Cheers,
>
> Josh
>
> On Thu, Aug 6, 2015 at 6:50 PM, Tang Chen <tangchen at cn.fujitsu.com
> <mailto:tangchen at cn.fujitsu.com>> wrote:
>
> Hi Abhishek,
>
> 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/ .
> But actually the log file is on my local machine.
>
> Is this done by os-loganalyze ? Is this included in
> install_log_server.sh ? (I don't think so.)
> Could I disable it and access my log file locally ?
>
> I found this URL for reference.
> http://josh.people.rcbops.com/2014/10/openstack-infrastructure-swift-logs-and-performance/
>
> Thanks. :)
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> __________________________________________________________________________
>
> OpenStack Development Mailing List (not for usage questions)
>
> Unsubscribe:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe <mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe>
>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150807/a4274e3b/attachment.html>
More information about the OpenStack-dev
mailing list