-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathApp.config
67 lines (55 loc) · 3.5 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<root>
<level value="DEBUG" />
<appender-ref ref="ConsoleAppender" />
</root>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%date] [%thread] [%-5level] [%logger] - %message%newline" />
</layout>
</appender>
</log4net>
<appSettings>
<!--********************************************************************************************************-->
<!--** Instructions to update the following settings for debug mode are at ** -->
<!--** http://github.com/Microsoft/Mobius/blob/master/notes/running-mobius-app.md#debug-mode **-->
<!--** Uncomment the following setting to run Spark driver executable in **debug** mode ** -->
<!--** Setting the port number is optional and needed only to override the default debug port number (5567) -->
<!--** In debug mode, the driver is not launched by CSharpRunner but launched from VS or command prompt not configured for SparkCLR ** -->
<!--** CSharpBackend should be launched in debug mode as well and the port number from that should be used below ** -->
<!--** Command to launch CSharpBackend in debug mode is "sparkclr-submit.cmd debug <port number - optional>" ** -->
<!--** If port number is not specified default debug port number will be used **-->
<!--********************************************************************************************************-->
<!--
<add key="CSharpBackendPortNumber" value="0"/>
-->
<!--********************************************************************************************************-->
<!--** Uncomment the following setting to override the location of CSharpWorker.exe to use ** -->
<!--** when running Spark in **local** or ** YARN ** modes ** -->
<!--** If this setting is not used, CSharpWorker.exe will be used from default location - location of driver exe ** -->
<!--********************************************************************************************************-->
<!--
<add key="CSharpWorkerPath" value="C:\path\to\mobius\driver\application\CSharpWorker.exe"/>
-->
<!-- *** Settings for Mobius in Linux *** -->
<!--********************************************************************************************************-->
<!--** Uncomment the following setting to use Mobius in Linux - ** CentOS, Fedora or OS X or similiar distros ** ** -->
<!--** This setting uses the application layout settings recommended at http://www.mono-project.com/docs/getting-started/application-deployment/#layout-recommendation ** -->
<!--** Make sure CSharpWorker.sh.exe is available in the same location as your Mobius driver application ** -->
<!--** For more instructions refer to https://github.com/Microsoft/Mobius/blob/master/notes/linux-instructions.md#instructions-1 **-->
<!--********************************************************************************************************-->
<!-- for Spark in ** local ** mode -->
<!--
<add key="CSharpWorkerPath" value="/path/to/mobius/driver/application/CSharpWorker.sh.exe"/>
-->
<!-- for Spark in ** YARN ** mode -->
<!--
<add key="CSharpWorkerPath" value="CSharpWorker.sh.exe"/>
-->
</appSettings>
</configuration>