Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update RhoElements logging sections according to last decisions and i…

…mplementation
  • Loading branch information...
commit 74e6ccfe6111b7244b50e7bcf8f511be518cc10d 1 parent 8cde4d4
@lexis-t lexis-t authored
View
16 docs/rhoelements/rhoelements2-native.txt
@@ -183,16 +183,16 @@ Set the `approot` parameter in the .lnk file to point to your RhoElements main a
## Logging a RhoElements Native Application
-### Windows Mobile/CE Logging
-
-The RhoElements native application log file is placed in the `rho` folder of the application folder. The file log name is specified by 'applog' parameter at 'build.yml' and is `rholog.txt` by default.
-
-### Android Logging
-
The RhoElements native application log is configured in the Rhodes way, at `rhoconfig.txt`, located in the app source root folder.
+By default log file has name `rholog.txt` and placed at next location:
+* Windows Mobile/CE: `rho` folder of the application folder.
+* Android: `rhodata` folder of the application folder (accessible at emulator or rooted device only).
+
You can use the `logserver` parameter to send the log to the host via HTTP. There is no option to store the log file on the mobile device in this case.
-If you start your application with the `rake run:android[:device]` command, then a log file is additionally stored at the app source root folder. In this case, the name of the log file is defined in `build.yml` with the `applog` parameter (by default the log file name is `rholog.txt`).
+NOTE: See [configure logging](/rhodes/configuration#run-time-configuration) using the parameters in `rhoconfig.txt`.
+
+If you start your application with rake, then the log file is additionally stored at the app source root folder. In this case, the name of the log file is defined in `build.yml` with the `applog` parameter (by default the log file name is `rholog.txt`).
-**Note: See [configure logging](/rhodes/configuration#run-time-configuration) using the parameters in `rhoconfig.txt`. See [enable HTTP-logging](/rhodes/test-log-debug#logging) with a help of `rhologurl` parameter in `rhoconfig.txt`.**
+NOTE: See [enable HTTP-logging](/rhodes/test-log-debug#logging) with a help of `rhologurl` parameter in `rhoconfig.txt`.
View
20 docs/rhoelements/rhoelements2-webapps.txt
@@ -108,23 +108,17 @@ On Windows CE, the default path (`\Program Files\RhoElements`) must be selected.
The RhoElements WebApp (hybrid) application log file is configured at [Config.xml](/rhoelements/ConfigurationSettings).
-### Windows Mobile/CE Logging
-
The location of the log file of a RhoElements WebApp (hybrid) application is defined by the following rules (in the order of priority):
1. If the `Value` attribute of `Configuration` > `Logger` > `LogProtocol` tag in the configuration file equals "FILE" or "HTTP", then the path to the log file is taken from the `Configuration` > `Logger` > `LogURI` tag.
- - In case of "FILE" protocol, the file name part of `LogURI` is ignored and `rholog.txt` (or what is specified by 'applog' parameter at 'build.yml') is used as a file name.
- - In case of "HTTP" protocol, the log messages are sent to the `LogURI` via POST HTTP-requests.
+ - In case of "FILE" protocol, the file name part of `Value` attribute of `LogURI` tag is ignored and `rholog.txt` is used as a file name.
+ - In case of "HTTP" protocol, log messages are sent to the host and the port specified with the `value` attribute of `LogURI` and `LogPort` tags via POST HTTP-requests.
2. If the start page parameter is a local file, then this file folder is used to store the log file.
-The file name part of the start page parameter is ignored and `rholog.txt` (or what is specified by 'applog' parameter at 'build.yml') is used as the file name.
-
-3. Otherwise the log file is placed in the `rho` folder in the Runtime installation folder.
-
-### Android Logging
-
-If the `value` attribute of the `Configuration` > `Logger` > `LogProtocol` tag in the configuration file equals "FILE" or "HTTP", then the destination of the log file is taken from the `Configuration` > `Logger` > `LogURI` tag.
+The file name part of the start page parameter is ignored and `rholog.txt` is used as the file name.
+This rule is not applied to Android.
-* In the case of "FILE", protocol log messages are stored to the file specified with the `value` attribute of the `LogURI` tag.
-* In the case of "HTTP" protocol, log messages are sent to the host and the port specified with the `value` attribute of `LogURI` and `LogPort` tags via POST HTTP-requests.
+3. Otherwise the log file has name `rholog.txt` and placed at next location:
+* Windows Mobile/CE: `rho` folder of the Runtime installation folder.
+* Android: `rhodata` folder of the Runtime installation folder (accessible at emulator or rooted device only).
Please sign in to comment.
Something went wrong with that request. Please try again.