To attach diagnostics process to app process, exec label should be set to "User".
Additionally, log redirection (to dlog) is turned off for corerun mode.
}
}
+void CoreRuntime::setLogManager(bool enable)
+{
+ __enableLogManager = enable;
+}
+
CoreRuntime::~CoreRuntime()
{
// workaround : to prevent crash while process terminate on profiling mode,
int initialize(bool standalone);
void dispose();
int launch(const char* appId, const char* root, const char* path, int argc, char* argv[]);
+ void setLogManager(bool enable);
private:
bool __initialized;
bool __enableLogManager;
bool __isProfileMode;
+
};
} // dotnetcore
snprintf(appId, 16, "%s", "dotnet-launcher");
appRoot = baseName(argv[1]);
+ // diable log redirection to dlog.
+ runtime->setLogManager(false);
+
if (runtime->initialize(true) != 0) {
_ERR("Failed to initialize");
return 1;
</request>
<assign>
<filesystem path="/opt/usr/dotnet" label="System::Shared" type="transmutable" />
+ <filesystem path="/usr/bin/dotnet-launcher" exec_label="User" />
</assign>
</manifest>