201 lines
7.5 KiB
HTML
201 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
|
|
<!--<link rel="shortcut icon" href="https://www.openhab.org/favicon.png"></link>-->
|
|
<title>openHAB 2 - Empowering the Smart Home</title>
|
|
|
|
<!-- CSS -->
|
|
<link type="text/css" rel="stylesheet" href="/v2.1/css/materialize.css" media="screen,projection" />
|
|
<link type="text/css" rel="stylesheet" href="/v2.1/css/pygments-jekyll-style.css" />
|
|
<link type="text/css" rel="stylesheet" href="/v2.1/css/styles.css" />
|
|
<link type="text/css" rel="stylesheet" href="/v2.1/css/openhab.css" />
|
|
<link type="text/css" rel="stylesheet" href="/v2.1/css/collapsible.css" />
|
|
|
|
<!-- Font -->
|
|
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
|
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700" />
|
|
<link rel="canonical" href="http://docs.openhab.org/tutorials/beginner/logs.html" />
|
|
<script type="text/javascript">var gaProperty = 'UA-47717934-3';var disableStr = 'ga-disable-' + gaProperty;if (document.cookie.indexOf(disableStr + '=true') > -1) {window[disableStr] = true;}</script>
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
ga('create', 'UA-47717934-3', 'auto');
|
|
ga('set', 'anonymizeIp', true);
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</head>
|
|
|
|
|
|
<body class="documentation">
|
|
<div id="header" class="navbar-fixed">
|
|
<nav role="navigation">
|
|
<div class="container">
|
|
<div class="nav-wrapper">
|
|
<a href="/v2.1/index.html"><img id="logo" src="/images/logo.png" /></a>
|
|
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
|
|
<ul class="right hide-on-med-and-down">
|
|
<li><a href="/tutorials/index.html">Tutorials</a></li>
|
|
<li><a href="/v2.1/introduction.html">User Manual</a></li>
|
|
<li><a href="/developers/index.html">Developer Guide</a></li>
|
|
<li><a target="_blank" href="https://community.openhab.org">Community Forum</a></li>
|
|
<li><a target="_blank" href="https://github.com/openhab">GitHub</a></li>
|
|
<li class="search"><i class="material-icons">search</i></li>
|
|
<li class="search">
|
|
<form method="GET" id="searchform" class="search-form" action="/search">
|
|
<input id="query" name="q" type="text" class="search-form-input" placeholder="search" />
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
<ul id="nav-mobile" class="side-nav">
|
|
<li><a href="/v2.1/index.html">Home</a></li>
|
|
<li><a href="/tutorials/index.html">Tutorials</a></li>
|
|
<li><a href="/v2.1/introduction.html">User Manual</a></li>
|
|
<li><a href="/developers/index.html">Developer Guide</a></li>
|
|
<li><a target="_blank" href="https://community.openhab.org">Community Forum</a></li>
|
|
<li><a target="_blank" href="https://github.com/openhab">GitHub</a></li>
|
|
<li class="search">
|
|
<form method="GET" id="searchformmob" class="search-form" action="/search">
|
|
<input id="querymob" name="q" type="text" class="search-form-input" placeholder="search" />
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<section id="documentation" class="text content-wrapper">
|
|
<div class="container">
|
|
<div class="side-nav-wrapper">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="nav">
|
|
<li>Tutorial (Beginner)</li>
|
|
<ul>
|
|
<li><a href="/v2.1/tutorials/beginner/index.html">Overview</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/1sttimesetup.html">First-time setup</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/uis.html">User Interfaces</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/configuration.html">Configuring openHAB and installing add-ons</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/sitemap.html">Creating a sitemap</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/rules.html">Working with rules</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/logs.html">Looking to the logs</a></li>
|
|
<li><a href="/v2.1/tutorials/beginner/persistence.html">Working with persistence</a></li>
|
|
</ul>
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="content">
|
|
|
|
<h1 id="looking-to-the-logs">Looking to the logs</h1>
|
|
|
|
<p>While using openHAB, we will need to look the the logs generated by the software.</p>
|
|
|
|
<p>Two log files are going to interest us.</p>
|
|
|
|
<p>To find them:</p>
|
|
|
|
<ul>
|
|
<li>open the finder,</li>
|
|
<li>navigate to your home folder,</li>
|
|
<li>navigate inside the openHAB folder,</li>
|
|
<li>navigate inside the userdata folder,</li>
|
|
<li>navigate inside the logs folder</li>
|
|
</ul>
|
|
|
|
<!--  -->
|
|
|
|
<ul>
|
|
<li>Inside the logs folder, double-click on the <code class="highlighter-rouge">openhab.log</code> file. The file will be displayed inside the console application.</li>
|
|
</ul>
|
|
|
|
<!--  -->
|
|
|
|
<blockquote>
|
|
<p>The console will display the messages as soon as they will be logged. Keep this window somewhere in order to take a look inside when it is needed.</p>
|
|
|
|
<p>We will use it to check the Z-Wave dialogs.</p>
|
|
|
|
<p>A “clean” startup looks this way in the log file :</p>
|
|
|
|
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>2016-05-09 21:29:33.195 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
|
|
2016-05-09 21:29:33.252 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
|
|
2016-05-09 21:29:33.567 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
|
|
</code></pre></div> </div>
|
|
</blockquote>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col s12 m7">
|
|
Copyright © 2017 by the <a href="https://github.com/openhab">openHAB Community</a> and the <a href="http://www.openhabfoundation.org/">openHAB Foundation e.V.</a>
|
|
</div>
|
|
<div class="col s12 m5">
|
|
<ul class="list-inline right-align">
|
|
<li><a href="/imprint.html">Imprint</a></li>
|
|
<li><a href="/privacy.html">Privacy Policy</a></li>
|
|
<li><a href="http://www.openhab.org">openHAB Website</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<script src="/v2.1/js/jquery.min.js"></script>
|
|
<script src="/v2.1/js/jquery.scrollme.min.js"></script>
|
|
<script src="/v2.1/js/jquery.sticky.js"></script>
|
|
<script src="/v2.1/js/materialize.min.js"></script>
|
|
<script src="/v2.1/js/init.js"></script>
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
|
|
$('#oh2-checkbox').change(function () {
|
|
if (this.checked) $('.since-2x').show('slow');
|
|
else $('.source-oh2').hide('slow');
|
|
});
|
|
|
|
$('#oh1-checkbox').change(function () {
|
|
if (this.checked) $('.since-1x').show('slow');
|
|
else $('.source-oh1').hide('slow');
|
|
});
|
|
|
|
$('#legacy-checkbox').change(function () {
|
|
if (this.checked) $('.install-legacy').show('slow');
|
|
else $('.install-legacy').hide('slow');
|
|
});
|
|
|
|
$('#manual-checkbox').change(function () {
|
|
if (this.checked) $('.install-manual').show('slow');
|
|
else $('.install-manual').hide('slow');
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|