summaryrefslogtreecommitdiff
path: root/navit/start.c
diff options
context:
space:
mode:
authorzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-28 22:54:01 +0000
committerzaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-28 22:54:01 +0000
commit05f05c1d475a7be7e2e64a13cb7616e93f9f005f (patch)
tree0bec5aaa4fce6e6b44392fa719f1ab8dbe524da5 /navit/start.c
parentb444854d0b381c02a69922cd86e4fb97379ab23c (diff)
downloadnavit-05f05c1d475a7be7e2e64a13cb7616e93f9f005f.tar.gz
Add:core:Interface to redirect the console log to a file
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1601 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/start.c')
-rw-r--r--navit/start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/start.c b/navit/start.c
index 80eba43c1..621f708e2 100644
--- a/navit/start.c
+++ b/navit/start.c
@@ -84,6 +84,9 @@ int main(int argc, char **argv)
main_init(argv[0]);
main_init_nls();
debug_init(argv[0]);
+#ifdef __CEGCC__
+ debug_set_logfile("/Storage Card/navit.log");
+#endif
file_init();
#ifndef USE_PLUGINS
extern void builtin_init(void);